[FFmpeg-devel] [PATCH] avfilter: add ITU-R 468 noise meter
Ganesh Ajjanagadde
gajjanag at mit.edu
Thu Dec 17 17:32:00 CET 2015
On Wed, Dec 16, 2015 at 1:34 PM, Paul B Mahol <onemda at gmail.com> wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
[...]
> +
> + formats = ff_make_format_list(sample_fmts);
> + if ((ret = ff_formats_ref(formats, &inlink->out_formats)) < 0 ||
> + (ret = ff_formats_ref(formats, &outlink->in_formats)) < 0)
> + return ret;
> +
> + layouts = ff_all_channel_counts();
> + if ((ret = ff_channel_layouts_ref(layouts, &inlink->out_channel_layouts)) < 0 ||
> + (ret = ff_channel_layouts_ref(layouts, &outlink->in_channel_layouts)) < 0)
> + return ret;
> +
> + formats = ff_make_format_list(input_srate);
> + if ((ret = ff_formats_ref(formats, &inlink->out_samplerates)) < 0 ||
> + (ret = ff_formats_ref(formats, &outlink->in_samplerates)) < 0)
> + return ret;
> +
> + return 0;
sorry for being pedantic; but this still suffers from the query_formats issue.
[...]
More information about the ffmpeg-devel
mailing list