diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-17 12:51:59 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-17 12:51:59 +0400 |
commit | d5e5e73c52d3e2e1d853b2d485223d3c7b01da4f (patch) | |
tree | e45e9c33d49036e03e84c6bd352ae3c05c5e823a /libavfilter/vf_gradfun.c | |
parent | 5bc892cb17225c8bfd54c12abf45012f393f03e3 (diff) | |
parent | d371c3c2e2830d9783465ecfe1ab7d93351083b7 (diff) |
Merge commit 'd371c3c2e2830d9783465ecfe1ab7d93351083b7'
* commit 'd371c3c2e2830d9783465ecfe1ab7d93351083b7':
vf_frei0r: make config_props work properly when called multiple times.
vf_gradfun: make config_props work properly when called multiple times.
vf_lut: make config_props work properly when called multiple times.
Conflicts:
libavfilter/vf_lut.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_gradfun.c')
-rw-r--r-- | libavfilter/vf_gradfun.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c index 6e92e3eed2..3abbd79e4f 100644 --- a/libavfilter/vf_gradfun.c +++ b/libavfilter/vf_gradfun.c @@ -168,6 +168,7 @@ static int config_input(AVFilterLink *inlink) int hsub = desc->log2_chroma_w; int vsub = desc->log2_chroma_h; + av_freep(&s->buf); s->buf = av_mallocz((FFALIGN(inlink->w, 16) * (s->radius + 1) / 2 + 32) * sizeof(uint16_t)); if (!s->buf) return AVERROR(ENOMEM); |