summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mplayer.c b/mplayer.c
index 95373c89b6..046cdc3039 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -2630,7 +2630,7 @@ if(time_frame>0.001 && !(vo_flags&256)){
if(vo_config_count) video_out->flip_page();
if (play_n_frames >= 0) {
--play_n_frames;
- if (play_n_frames < 0) eof = PT_NEXT_ENTRY;
+ if (play_n_frames <= 0) eof = PT_NEXT_ENTRY;
}
// usec_sleep(50000); // test only!