Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-03-17 05:57:43 +0400
committerClément Bœsch <ubitux@gmail.com>2013-03-17 06:12:44 +0400
commit286153ea48618fd2287a5e26610729c1f9e83793 (patch)
tree029ebd27525b435375aad6d8d416ee95a4830690 /libavfilter/vf_alphaextract.c
parentf566ac48ce450b013ffd5547ace48df8c47981c6 (diff)
lavfi/alphaextract: fix frame memleak.
Diffstat (limited to 'libavfilter/vf_alphaextract.c')
-rw-r--r--libavfilter/vf_alphaextract.c2
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;
}