summaryrefslogtreecommitdiff
path: root/libavfilter/vf_alphamerge.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-12-02 18:03:04 +0100
committerStefano Sabatini <stefasab@gmail.com>2012-12-02 18:04:57 +0100
commit255be0734d9293309b42d8029d2004ec3732c8bc (patch)
tree5487cb6d2c344d01d424293097d61d50a4bc675d /libavfilter/vf_alphamerge.c
parent49435d3888bda5be392665c734bcbe6f09507546 (diff)
downloadffmpeg-255be0734d9293309b42d8029d2004ec3732c8bc.tar.gz
lavfi/alphamerge: fix leak introduced in 217163eb
Diffstat (limited to 'libavfilter/vf_alphamerge.c')
-rw-r--r--libavfilter/vf_alphamerge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_alphamerge.c b/libavfilter/vf_alphamerge.c
index bb5b9615c0..f3800db409 100644
--- a/libavfilter/vf_alphamerge.c
+++ b/libavfilter/vf_alphamerge.c
@@ -147,7 +147,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *buf)
merge->frame_requested = 0;
draw_frame(ctx, main_buf, alpha_buf);
- ff_filter_frame(ctx->outputs[0], avfilter_ref_buffer(main_buf, ~0));
+ ff_filter_frame(ctx->outputs[0], main_buf);
avfilter_unref_buffer(alpha_buf);
}
return 0;