From 6d962aec8dd3b3d2dc6baf5969a2300c4cd7ae0b Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Wed, 26 Dec 2012 16:51:26 +0100 Subject: [PATCH] lavfi/af_aformat: accept unknown channel layouts. --- libavfilter/af_aformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_aformat.c b/libavfilter/af_aformat.c index b1d779f9ec..9ac381fc1e 100644 --- a/libavfilter/af_aformat.c +++ b/libavfilter/af_aformat.c @@ -121,7 +121,7 @@ static int query_formats(AVFilterContext *ctx) ff_set_common_samplerates(ctx, s->sample_rates ? s->sample_rates : ff_all_samplerates()); ff_set_common_channel_layouts(ctx, s->channel_layouts ? s->channel_layouts : - ff_all_channel_layouts()); + ff_all_channel_counts()); return 0; }