                  self._meta.update(meta)
          elif index == 0:
              self._meta.update(self._read_gen.__next__())
          else:
              frames_skipped = 0
              while skip_frames != frames_skipped:
                  # Skip frames that are not the desired frame
                  _ = self._read_gen.__next__()
                  frames_skipped += 1
              self._read_gen.__next__()  # we already have meta data
  
  
  imageio.plugins.ffmpeg.FfmpegFormat.Reader = FfmpegReader
  
 
</s> remove             keyframe_pts, keyframe = self._previous_keyframe_info(index)
            seek_fast = keyframe_pts
            skip_frames = index - keyframe
 </s> add             if self.use_patch:
                keyframe_pts, keyframe = self._previous_keyframe_info(index)
                seek_fast = keyframe_pts
                skip_frames = index - keyframe
            else:
                starttime = index / self._meta["fps"]
                seek_slow = min(10, starttime)
                seek_fast = starttime - seek_slow </s> remove             if self._frame_pts is None:
 </s> add             if self.use_patch and self._frame_pts is None:
            if self.use_patch:
                frames_skipped = 0
                while skip_frames != frames_skipped:
                    # Skip frames that are not the desired frame
                    _ = self._read_gen.__next__()
                    frames_skipped += 1
                  self._meta.update(meta)
          elif index == 0:
              self._meta.update(self._read_gen.__next__())
          else:
            if self.use_patch:
                frames_skipped = 0
                while skip_frames != frames_skipped:
                    # Skip frames that are not the desired frame
                    _ = self._read_gen.__next__()
                    frames_skipped += 1
            if self.use_patch:
                frames_skipped = 0
                while skip_frames != frames_skipped:
                    # Skip frames that are not the desired frame
                    _ = self._read_gen.__next__()
                    frames_skipped += 1
            if self.use_patch:
                frames_skipped = 0
                while skip_frames != frames_skipped:
                    # Skip frames that are not the desired frame
                    _ = self._read_gen.__next__()
                    frames_skipped += 1
            if self.use_patch:
                frames_skipped = 0
                while skip_frames != frames_skipped:
                    # Skip frames that are not the desired frame
                    _ = self._read_gen.__next__()
                    frames_skipped += 1
            if self.use_patch:
                frames_skipped = 0
                while skip_frames != frames_skipped:
                    # Skip frames that are not the desired frame
                    _ = self._read_gen.__next__()
                    frames_skipped += 1
              self._read_gen.__next__()  # we already have meta data
  
  
  imageio.plugins.ffmpeg.FfmpegFormat.Reader = FfmpegReader
  
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 Bugfix - lib.image - Make patched ffmpeg reader optional 
lib/image.py