diff options
author | Paul B Mahol <onemda@gmail.com> | 2015-09-11 21:51:10 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2015-09-12 04:43:06 +0300 |
commit | 494b792441622b9a3530b3cdf0a6609228a8945f (patch) | |
tree | 382d5a023209c122b1a82e71c3333772263e4f04 /libavfilter/af_sidechaincompress.c | |
parent | e3e55758dcf6e7801e9402df2cb734c19d0ea314 (diff) |
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 <onemda@gmail.com>
Diffstat (limited to 'libavfilter/af_sidechaincompress.c')
-rw-r--r-- | libavfilter/af_sidechaincompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_sidechaincompress.c b/libavfilter/af_sidechaincompress.c index afae9bef17..e45fd720d7 100644 --- a/libavfilter/af_sidechaincompress.c +++ b/libavfilter/af_sidechaincompress.c @@ -257,7 +257,7 @@ static int query_formats(AVFilterContext *ctx) ff_channel_layouts_ref(layouts, &ctx->outputs[0]->in_channel_layouts); for (i = 0; i < 2; i++) { - layouts = ff_all_channel_layouts(); + layouts = ff_all_channel_counts(); if (!layouts) return AVERROR(ENOMEM); ff_channel_layouts_ref(layouts, &ctx->inputs[i]->out_channel_layouts); |