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

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


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

diff --git a/libavfilter/asrc_aevalsrc.c b/libavfilter/asrc_aevalsrc.c
index 70908e6..409399f 100644
--- a/libavfilter/asrc_aevalsrc.c
+++ b/libavfilter/asrc_aevalsrc.c
@@ -236,9 +236,7 @@ static int request_frame(AVFilterLink *outlink)
     samplesref->sample_rate = eval->sample_rate;
     eval->pts += eval->nb_samples;
 
-    ff_filter_frame(outlink, samplesref);
-
-    return 0;
+    return ff_filter_frame(outlink, samplesref);
 }
 
 static const AVFilterPad aevalsrc_outputs[] = {
-- 
1.8.1.5



More information about the ffmpeg-devel mailing list