lavfi/aevalsrc: raise filter_frame() error.
authorClément Bœsch <ubitux@gmail.com>
Wed, 13 Mar 2013 08:55:56 +0000 (09:55 +0100)
committerClément Bœsch <ubitux@gmail.com>
Wed, 13 Mar 2013 18:00:09 +0000 (19:00 +0100)
libavfilter/asrc_aevalsrc.c

index 70908e6..409399f 100644 (file)
@@ -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[] = {