From 494b792441622b9a3530b3cdf0a6609228a8945f Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 11 Sep 2015 18:51:10 +0000 Subject: avfilter: use ff_all_channel_counts() instead of ff_all_channel_layouts() Fixes playback of some files with ffplay. Signed-off-by: Paul B Mahol --- libavfilter/af_aphaser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/af_aphaser.c') diff --git a/libavfilter/af_aphaser.c b/libavfilter/af_aphaser.c index 13fe901c3c..33ecb1a7fb 100644 --- a/libavfilter/af_aphaser.c +++ b/libavfilter/af_aphaser.c @@ -96,7 +96,7 @@ static int query_formats(AVFilterContext *ctx) }; int ret; - layouts = ff_all_channel_layouts(); + layouts = ff_all_channel_counts(); if (!layouts) return AVERROR(ENOMEM); ret = ff_set_common_channel_layouts(ctx, layouts); -- cgit v1.2.3