ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Mon Nov 12 09:38:30 2018 +0100| [0f2cfa3d809b287b886fcaf8e0c61efae7a1cea7] | committer: Paul B Mahol
avfilter/af_headphone: do not leak input frames on error > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0f2cfa3d809b287b886fcaf8e0c61efae7a1cea7 --- libavfilter/af_headphone.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavfilter/af_headphone.c b/libavfilter/af_headphone.c index 0c7e4a2957..43e7747d86 100644 --- a/libavfilter/af_headphone.c +++ b/libavfilter/af_headphone.c @@ -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); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog