diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-17 13:09:39 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-17 13:09:39 +0200 |
commit | 47c2e52bc684fd8b913a244ae35010b38ab9e2bf (patch) | |
tree | 138a43592330265be276895395baae3111504e61 | |
parent | ac87c273a646eb8feba8e47f15da4934d119f650 (diff) | |
download | ffmpeg-47c2e52bc684fd8b913a244ae35010b38ab9e2bf.tar.gz |
af_aresample: fix typo in query formats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavfilter/af_aresample.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c index a5ab38ea9c..b9af42e6a5 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); |