[FFmpeg-cvslog] af_aresample: fix typo in query formats
Michael Niedermayer
git at videolan.org
Thu May 17 13:16:41 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu May 17 13:09:39 2012 +0200| [47c2e52bc684fd8b913a244ae35010b38ab9e2bf] | committer: Michael Niedermayer
af_aresample: fix typo in query formats
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=47c2e52bc684fd8b913a244ae35010b38ab9e2bf
---
libavfilter/af_aresample.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c
index a5ab38e..b9af42e 100644
--- a/libavfilter/af_aresample.c
+++ b/libavfilter/af_aresample.c
@@ -82,7 +82,7 @@ static int query_formats(AVFilterContext *ctx)
if(aresample->out_rate > 0) {
int sample_rates[] = { aresample->out_rate, -1 };
- ff_set_common_samplerates(ctx, avfilter_make_format_list(sample_rates));
+ avfilter_formats_ref(avfilter_make_format_list(sample_rates), &outlink->in_samplerates);
} else {
out_samplerates = ff_all_samplerates();
avfilter_formats_ref(out_samplerates, &outlink->in_samplerates);
More information about the ffmpeg-cvslog
mailing list