summaryrefslogtreecommitdiff
path: root/libavfilter/af_adrc.c
Commit message (Collapse)AuthorAge
* avfilter: Deduplicate default audio inputs/outputsAndreas Rheinhardt2023-08-07
| | | | | | | | | | | | | | | | | 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.rheinhardt@outlook.com>
* avfilter: add adrc filterPaul B Mahol2022-12-19