git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb2958
)
vf_hqdn3d: make config_props work properly when called multiple times.
author
Anton Khirnov
<anton@khirnov.net>
Mon, 18 Mar 2013 20:31:54 +0000
(21:31 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Fri, 17 May 2013 05:44:12 +0000
(07:44 +0200)
Do not leak all the temp buffers.
libavfilter/vf_hqdn3d.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_hqdn3d.c
b/libavfilter/vf_hqdn3d.c
index
47abf1b
..
b9acf0b
100644
(file)
--- 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;