aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-13 09:55:56 +0100
committerClément Bœsch <ubitux@gmail.com>2013-03-13 19:00:09 +0100
commit44f3d217997fd39f7fbdd3f3d0ca487903eb47c6 (patch)
treebc2bc18d9f300ccf1755e9f217a4721ddb9f6795
parent1b0d0e6b7274c1d0c1ca9f7081d437f31c1a00f3 (diff)
downloadffmpeg-44f3d217997fd39f7fbdd3f3d0ca487903eb47c6.tar.gz
lavfi/aevalsrc: raise filter_frame() error.
-rw-r--r--libavfilter/asrc_aevalsrc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavfilter/asrc_aevalsrc.c b/libavfilter/asrc_aevalsrc.c
index 70908e66a8..409399f3a4 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[] = {