summaryrefslogtreecommitdiffstats
path: root/libavfilter/af_aresample.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-13 09:55:18 +0100
committerClément Bœsch <ubitux@gmail.com>2013-03-13 19:00:08 +0100
commitc82bb2815b8f78fd7f178fc8c614edb4b36df9b7 (patch)
treeda5b13233d9d5f8ee3c9be56128b99d5631e283a /libavfilter/af_aresample.c
parente4c5e08f60fdb1da7cb608acb946f1ec0182c0f8 (diff)
downloadffmpeg-streaming-c82bb2815b8f78fd7f178fc8c614edb4b36df9b7.zip
ffmpeg-streaming-c82bb2815b8f78fd7f178fc8c614edb4b36df9b7.tar.gz
lavfi/aresample: raise filter_frame() error.
Diffstat (limited to 'libavfilter/af_aresample.c')
-rw-r--r--libavfilter/af_aresample.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c
index 6e0d679..be1e4b7 100644
--- a/libavfilter/af_aresample.c
+++ b/libavfilter/af_aresample.c
@@ -252,8 +252,7 @@ static int request_frame(AVFilterLink *outlink)
outsamplesref->pts = ROUNDED_DIV(outsamplesref->pts, inlink->sample_rate);
#endif
- ff_filter_frame(outlink, outsamplesref);
- return 0;
+ return ff_filter_frame(outlink, outsamplesref);
}
return ret;
}
OpenPOWER on IntegriCloud