[FFmpeg-soc] [soc]: r4256 - libavfilter/vsrc_movie.c

vitor subversion at mplayerhq.hu
Fri May 8 00:06:33 CEST 2009


Author: vitor
Date: Fri May  8 00:06:32 2009
New Revision: 4256

Log:
Make vsrc_movie handle EOF correctly.

Patch by Martin Storsjö - $firstname@$firstname.st

Modified:
   libavfilter/vsrc_movie.c

Modified: libavfilter/vsrc_movie.c
==============================================================================
--- libavfilter/vsrc_movie.c	Sat May  2 20:40:28 2009	(r4255)
+++ libavfilter/vsrc_movie.c	Fri May  8 00:06:32 2009	(r4256)
@@ -243,6 +243,9 @@ static int request_frame(AVFilterLink *l
 
     movie_get_frame(link);
 
+    if (mv->is_done)
+        return AVERROR_EOF;
+
     out = avfilter_ref_pic(mv->pic, ~AV_PERM_WRITE);
     out->pixel_aspect = mv->pCodecCtx->sample_aspect_ratio;
 


More information about the FFmpeg-soc mailing list