]> git.sesse.net Git - ffmpeg/commit
avfilter/af_headphone: Don't allocate unused element in array
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 26 Aug 2020 04:24:51 +0000 (06:24 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 9 Sep 2020 11:47:46 +0000 (13:47 +0200)
commit6d0d25eca38089e207d3fcbae1d112531aaace21
tree171ea48e0e1f6915553bcd6b01d5f9c2f4264a7b
parent990d9dd80000468ea4088cf318370b5045ea69d1
avfilter/af_headphone: Don't allocate unused element in array

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.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavfilter/af_headphone.c