summaryrefslogtreecommitdiff
path: root/libavfilter/avf_showspectrum.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-04-23 19:09:30 +0200
committerPaul B Mahol <onemda@gmail.com>2022-04-23 19:24:43 +0200
commitce23794b91031162da365a0d389fd0330cdb9486 (patch)
tree8974e6c0209d537e0eba79f9166d40c2c065040d /libavfilter/avf_showspectrum.c
parenta64e250680fbc7296eff714b81b54b1c0e2d185f (diff)
avfilter/avf_showspectrum: filter support all channel counts
Diffstat (limited to 'libavfilter/avf_showspectrum.c')
-rw-r--r--libavfilter/avf_showspectrum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index 00fca02e1b..b111471116 100644
--- a/libavfilter/avf_showspectrum.c
+++ b/libavfilter/avf_showspectrum.c
@@ -371,7 +371,7 @@ static int query_formats(AVFilterContext *ctx)
if ((ret = ff_formats_ref(formats, &inlink->outcfg.formats)) < 0)
return ret;
- layouts = ff_all_channel_layouts();
+ layouts = ff_all_channel_counts();
if ((ret = ff_channel_layouts_ref(layouts, &inlink->outcfg.channel_layouts)) < 0)
return ret;