mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user