Browse Source

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>
tags/n3.2
Paul B Mahol 9 years ago
parent
commit
b257266ee8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/af_amix.c

+ 1
- 1
libavfilter/af_amix.c View File

@@ -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…
Cancel
Save