Skip to content

Commit

Permalink
remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Gygli committed Oct 6, 2017
1 parent 46aae7b commit a9eee20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moviepy/video/io/ffmpeg_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def get_frame(self, t):
if pos == self.pos:
return self.lastread
else:
if not self.proc or (pos < self.pos) or (pos > self.pos + 100):
if (pos < self.pos) or (pos > self.pos + 100):
self.initialize(t)
self.pos = pos
else:
Expand Down

0 comments on commit a9eee20

Please sign in to comment.