[MPlayer-cvslog] r22449 - trunk/libmpdemux/demux_avs.c

reimar subversion at mplayerhq.hu
Sun Mar 4 15:59:23 CET 2007


Author: reimar
Date: Sun Mar  4 15:59:23 2007
New Revision: 22449

Modified:
   trunk/libmpdemux/demux_avs.c

Log:
Already frameno == num_frames means we reached EOF.

Modified: trunk/libmpdemux/demux_avs.c
==============================================================================
--- trunk/libmpdemux/demux_avs.c	(original)
+++ trunk/libmpdemux/demux_avs.c	Sun Mar  4 15:59:23 2007
@@ -172,7 +172,7 @@ static int demux_avs_fill_buffer(demuxer
         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)



More information about the MPlayer-cvslog mailing list