mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
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 <onemda@gmail.com>
This commit is contained in:
parent
7c5fed15a8
commit
b257266ee8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user