[FFmpeg-cvslog] lavfi/alphamerge: fix leak introduced in 217163eb
Stefano Sabatini
git at videolan.org
Sun Dec 2 18:06:18 CET 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Dec 2 18:03:04 2012 +0100| [255be0734d9293309b42d8029d2004ec3732c8bc] | committer: Stefano Sabatini
lavfi/alphamerge: fix leak introduced in 217163eb
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=255be0734d9293309b42d8029d2004ec3732c8bc
---
libavfilter/vf_alphamerge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_alphamerge.c b/libavfilter/vf_alphamerge.c
index bb5b961..f3800db 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;
More information about the ffmpeg-cvslog
mailing list