[FFmpeg-cvslog] avfilter/vf_eq: fix leak of input frame
Paul B Mahol
git at videolan.org
Mon Jan 26 10:55:45 CET 2015
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Jan 26 09:43:51 2015 +0000| [7ccd625a46c5a5a2f1cd6a20d7a6bf8137c7191c] | committer: Paul B Mahol
avfilter/vf_eq: fix leak of input frame
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ccd625a46c5a5a2f1cd6a20d7a6bf8137c7191c
---
libavfilter/vf_eq.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_eq.c b/libavfilter/vf_eq.c
index 60822df..0c2f0ce 100644
--- a/libavfilter/vf_eq.c
+++ b/libavfilter/vf_eq.c
@@ -214,6 +214,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
in->data[i], in->linesize[i], w, h);
}
+ av_frame_free(&in);
return ff_filter_frame(outlink, out);
}
static const AVFilterPad eq_inputs[] = {
More information about the ffmpeg-cvslog
mailing list