[FFmpeg-devel] [PATCH 05/10] avfilter/avfilter: Deprecate avfilter_pad_count()

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Aug 15 13:05:20 EEST 2021


Paul B Mahol:
> and what about dynamic number of pads?
> 
Dynamic pads are counted in AVFilterContext.nb_(input|output). Notice
that avfilter_pad_count() is not usable with them at all, because these
arrays are not zero-terminated. avfilter_pad_count() is only usable with
AVFilter.inputs and AVFilter.outputs.

- Andreas


More information about the ffmpeg-devel mailing list