aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_biquads.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-24 22:21:51 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-26 23:52:57 +0200
commitca8e5dedc7fabae3df76ea11d9952070cbb19620 (patch)
tree3c09cfb26eb66f2c2d69370c04dcac6e4f09a66c /libavfilter/af_biquads.c
parent0960da42f5414a24497c75787ff4be318ae41421 (diff)
downloadffmpeg-ca8e5dedc7fabae3df76ea11d9952070cbb19620.tar.gz
avfilter/af_headphone: Fix leak of channel layouts list on error
In case the multichannel HRIR mode was enabled, an error could happen between allocating a channel layouts list and attaching it to its target destination. If an error happened, the list would leak. This is fixed by attaching the list to its target directly after its allocation. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/af_biquads.c')
0 files changed, 0 insertions, 0 deletions