Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-09-10 14:05:31 +0300
committerPaul B Mahol <onemda@gmail.com>2016-09-10 14:05:31 +0300
commitb257266ee8b3f6db5d6135ba7c8fbcd3fba5c9dc (patch)
treed07a27f4b7d5308be58c2176e92d49f4a0ae219e /libavfilter/af_amix.c
parent7c5fed15a8dfb6192960a14e876afa913d4f86fd (diff)
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>
Diffstat (limited to 'libavfilter/af_amix.c')
-rw-r--r--libavfilter/af_amix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c
index 0e32c8affb..e18743e0b8 100644
--- a/libavfilter/af_amix.c
+++ b/libavfilter/af_amix.c
@@ -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;