diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-03-17 02:57:43 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-03-17 03:12:44 +0100 |
commit | 286153ea48618fd2287a5e26610729c1f9e83793 (patch) | |
tree | 029ebd27525b435375aad6d8d416ee95a4830690 /libavfilter | |
parent | f566ac48ce450b013ffd5547ace48df8c47981c6 (diff) | |
download | ffmpeg-286153ea48618fd2287a5e26610729c1f9e83793.tar.gz |
lavfi/alphaextract: fix frame memleak.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_alphaextract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_alphaextract.c b/libavfilter/vf_alphaextract.c index 8fff80581b..62ceecff5f 100644 --- a/libavfilter/vf_alphaextract.c +++ b/libavfilter/vf_alphaextract.c @@ -98,7 +98,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *cur_buf) ret = ff_filter_frame(outlink, out_buf); end: - av_frame_unref(cur_buf); + av_frame_free(&cur_buf); return ret; } |