mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avfilter/af_headphone: do not leak input frames on error
This commit is contained in:
parent
a09411a0ee
commit
0f2cfa3d80
@ -587,6 +587,9 @@ static int convert_coeffs(AVFilterContext *ctx, AVFilterLink *inlink)
|
||||
|
||||
fail:
|
||||
|
||||
for (i = 0; i < s->nb_inputs - 1; i++)
|
||||
av_frame_free(&s->in[i + 1].frame);
|
||||
|
||||
av_freep(&data_ir_l);
|
||||
av_freep(&data_ir_r);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user