[FFmpeg-devel] [PATCH 15/15] lavfi/mptestsrc: raise filter_frame() error.

Clément Bœsch ubitux at gmail.com
Wed Mar 13 10:11:08 CET 2013


---
 libavfilter/vsrc_mptestsrc.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c
index a6d938c..05a1af6 100644
--- a/libavfilter/vsrc_mptestsrc.c
+++ b/libavfilter/vsrc_mptestsrc.c
@@ -355,9 +355,7 @@ static int request_frame(AVFilterLink *outlink)
     }
 
     test->frame_nb++;
-    ff_filter_frame(outlink, picref);
-
-    return 0;
+    return ff_filter_frame(outlink, picref);
 }
 
 static const AVFilterPad mptestsrc_outputs[] = {
-- 
1.8.1.5



More information about the ffmpeg-devel mailing list