Commit b257266e authored by Paul B Mahol's avatar Paul B Mahol

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: 's avatarPaul B Mahol <onemda@gmail.com>
parent 7c5fed15
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment