X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Faf_compand.c;h=6724121350e07830c9e493751a19aa5b1b881ab2;hb=64f72bb61f0f341698c75231ff7deaa2be3853b2;hp=610787f54e0f3609ffd00b1717dd194ce5fed9a6;hpb=95f92b2513342d3122320de6f80ebf8e55a91728;p=ffmpeg diff --git a/libavfilter/af_compand.c b/libavfilter/af_compand.c index 610787f54e0..6724121350e 100644 --- a/libavfilter/af_compand.c +++ b/libavfilter/af_compand.c @@ -109,7 +109,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);