Andreas Rheinhardt:
> Lots of audio filters use very simple inputs or outputs:
> An array with a single AVFilterPad whose name is "default"
> and whose type is AVMEDIA_TYPE_AUDIO; everything else is unset.
> 
> Given that we never use pointer equality for inputs or outputs*,
> we can simply use a single AVFilterPad instead of dozens; this
> even saves .data.rel.ro (4784B here) as well as relocations.
> 
> *: In fact, several filters (like the filters in af_biquads.c)
> already use the same inputs; furthermore, ff_filter_alloc()
> duplicates the input and output pads so that we do not even
> work with the pads directly.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
> ---

Will apply this patchset (with its potential for many conflicts) the day
after tomorrow unless there are objections.

- Andreas

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to