mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-30 19:32:13 +00:00
af_aresample: fix typo in query formats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ac87c273a6
commit
47c2e52bc6
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user