On Wed, Dec 16, 2015 at 1:34 PM, Paul B Mahol <one...@gmail.com> wrote: > Signed-off-by: Paul B Mahol <one...@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. [...] _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel