projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ba35a3
)
vf_pixdesctest: 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:23 +0000
(07:44 +0200)
libavfilter/vf_pixdesctest.c
patch
|
blob
|
history
diff --git
a/libavfilter/vf_pixdesctest.c
b/libavfilter/vf_pixdesctest.c
index
5407ec6
..
cbb869c
100644
(file)
--- a/
libavfilter/vf_pixdesctest.c
+++ b/
libavfilter/vf_pixdesctest.c
@@
-46,6
+46,7
@@
static int config_props(AVFilterLink *inlink)
priv->pix_desc = av_pix_fmt_desc_get(inlink->format);
+ av_freep(&priv->line);
if (!(priv->line = av_malloc(sizeof(*priv->line) * inlink->w)))
return AVERROR(ENOMEM);