Already frameno == num_frames means we reached EOF.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22449 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-03-04 14:59:23 +00:00
parent 8849f44f77
commit 723fc2a290
1 changed files with 1 additions and 1 deletions

View File

@ -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)