avfilter/avf_showfreqs: filter support all channel counts

release/5.1
Paul B Mahol 3 years ago
parent d353909e77
commit fd834924d7
  1. 2
      libavfilter/avf_showfreqs.c

@ -120,7 +120,7 @@ static int query_formats(AVFilterContext *ctx)
if ((ret = ff_formats_ref(formats, &inlink->outcfg.formats)) < 0) if ((ret = ff_formats_ref(formats, &inlink->outcfg.formats)) < 0)
return ret; return ret;
layouts = ff_all_channel_layouts(); layouts = ff_all_channel_counts();
if ((ret = ff_channel_layouts_ref(layouts, &inlink->outcfg.channel_layouts)) < 0) if ((ret = ff_channel_layouts_ref(layouts, &inlink->outcfg.channel_layouts)) < 0)
return ret; return ret;

Loading…
Cancel
Save