Commit 47c2e52b authored by Michael Niedermayer's avatar Michael Niedermayer

af_aresample: fix typo in query formats

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ac87c273
...@@ -82,7 +82,7 @@ static int query_formats(AVFilterContext *ctx) ...@@ -82,7 +82,7 @@ static int query_formats(AVFilterContext *ctx)
if(aresample->out_rate > 0) { if(aresample->out_rate > 0) {
int sample_rates[] = { aresample->out_rate, -1 }; 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 { } else {
out_samplerates = ff_all_samplerates(); out_samplerates = ff_all_samplerates();
avfilter_formats_ref(out_samplerates, &outlink->in_samplerates); avfilter_formats_ref(out_samplerates, &outlink->in_samplerates);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment