aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-01-26 09:43:51 +0000
committerPaul B Mahol <onemda@gmail.com>2015-01-26 09:43:51 +0000
commit7ccd625a46c5a5a2f1cd6a20d7a6bf8137c7191c (patch)
treefb9a5d957163bc20276f5b1ae63bc73b752440e9
parentf4f061932754f54f5db6fd8b0ad596a6b839cf3a (diff)
downloadffmpeg-7ccd625a46c5a5a2f1cd6a20d7a6bf8137c7191c.tar.gz
avfilter/vf_eq: fix leak of input frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavfilter/vf_eq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_eq.c b/libavfilter/vf_eq.c
index 60822dfa24..0c2f0cef4e 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[] = {