[FFmpeg-cvslog] vf_hqdn3d: make config_props work properly when called multiple times.
Anton Khirnov
git at videolan.org
Fri May 17 11:47:26 CEST 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Mar 18 21:31:54 2013 +0100| [3ba35a346cd2ee86fff83a0d0534e8a2265984fd] | committer: Anton Khirnov
vf_hqdn3d: make config_props work properly when called multiple times.
Do not leak all the temp buffers.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3ba35a346cd2ee86fff83a0d0534e8a2265984fd
---
libavfilter/vf_hqdn3d.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c
index 47abf1b..b9acf0b 100644
--- a/libavfilter/vf_hqdn3d.c
+++ b/libavfilter/vf_hqdn3d.c
@@ -252,6 +252,8 @@ static int config_input(AVFilterLink *inlink)
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format);
int i;
+ uninit(inlink->dst);
+
s->hsub = desc->log2_chroma_w;
s->vsub = desc->log2_chroma_h;
s->depth = desc->comp[0].depth_minus1+1;
More information about the ffmpeg-cvslog
mailing list