aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_flanger.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-09-11 18:51:10 +0000
committerPaul B Mahol <onemda@gmail.com>2015-09-12 01:43:06 +0000
commit494b792441622b9a3530b3cdf0a6609228a8945f (patch)
tree382d5a023209c122b1a82e71c3333772263e4f04 /libavfilter/af_flanger.c
parente3e55758dcf6e7801e9402df2cb734c19d0ea314 (diff)
downloadffmpeg-494b792441622b9a3530b3cdf0a6609228a8945f.tar.gz
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_flanger.c')
-rw-r--r--libavfilter/af_flanger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_flanger.c b/libavfilter/af_flanger.c
index 106e6f73f8..39d4e7b4b7 100644
--- a/libavfilter/af_flanger.c
+++ b/libavfilter/af_flanger.c
@@ -97,7 +97,7 @@ static int query_formats(AVFilterContext *ctx)
};
int ret;
- layouts = ff_all_channel_layouts();
+ layouts = ff_all_channel_counts();
if (!layouts)
return AVERROR(ENOMEM);
ret = ff_set_common_channel_layouts(ctx, layouts);