diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-04 14:59:23 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-03-04 14:59:23 +0000 |
commit | 723fc2a2908a79abc5fd1b74bf5f26bbf0c09f09 (patch) | |
tree | f827b577f9325dc031c99c793a716ec6cd24614d /libmpdemux | |
parent | 8849f44f77e35bdde726bd09bf6adc039cbd7047 (diff) |
Already frameno == num_frames means we reached EOF.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22449 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_avs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_avs.c b/libmpdemux/demux_avs.c index c73082b9b3..7912887890 100644 --- a/libmpdemux/demux_avs.c +++ b/libmpdemux/demux_avs.c @@ -172,7 +172,7 @@ static int demux_avs_fill_buffer(demuxer_t *demuxer, demux_stream_t *ds) sh_video_t *sh_video = demuxer->video->sh; char *dst; int w, h; - if (AVS->video_info->num_frames < AVS->frameno) return 0; // EOF + if (AVS->video_info->num_frames <= AVS->frameno) return 0; // EOF curr_frame = AVS->avs_get_frame(AVS->clip, AVS->frameno); if (!curr_frame) |