From b257266ee8b3f6db5d6135ba7c8fbcd3fba5c9dc Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 10 Sep 2016 13:05:31 +0200 Subject: avfilter/af_amix: use ff_all_channel_counts() instead of ff_all_channel_layouts() Adds support for filtering frames with unknown channel layouts. Signed-off-by: Paul B Mahol --- libavfilter/af_amix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/af_amix.c') diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c index 0e32c8affb..e18743e0b8 100644 --- a/libavfilter/af_amix.c +++ b/libavfilter/af_amix.c @@ -521,7 +521,7 @@ static int query_formats(AVFilterContext *ctx) AVFilterChannelLayouts *layouts; int ret; - layouts = ff_all_channel_layouts(); + layouts = ff_all_channel_counts(); if (!layouts) { ret = AVERROR(ENOMEM); goto fail; -- cgit v1.2.3