[FFmpeg-devel] [PATCH 20/25] avfilter/af_headphone: Don't allocate unused element in array
Paul B Mahol
onemda at gmail.com
Wed Sep 9 04:30:04 EEST 2020
On Tue, Sep 08, 2020 at 11:18:51PM +0200, Andreas Rheinhardt wrote:
> The headphone filter uses an array with as many elements as the
> filter has inputs to store some per-input information; yet actually it
> only stores information for all inputs except the very first one (which
> is special for this filter). Therefore this commit modifies the code to
> remove this unused element.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> libavfilter/af_headphone.c | 50 +++++++++++++++++++-------------------
> 1 file changed, 25 insertions(+), 25 deletions(-)
>
should be fine if does not break anything.
More information about the ffmpeg-devel
mailing list