Mercurial > mplayer.hg
changeset 22431:0cf22436ef75
Already frameno == num_frames means we reached EOF.
author | reimar |
---|---|
date | Sun, 04 Mar 2007 14:59:23 +0000 |
parents | 1c12f4697cec |
children | 7b9edf61170a |
files | libmpdemux/demux_avs.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_avs.c Sun Mar 04 14:53:26 2007 +0000 +++ b/libmpdemux/demux_avs.c Sun Mar 04 14:59:23 2007 +0000 @@ -172,7 +172,7 @@ 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)