mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavfi/alphamerge: fix leak introduced in 217163eb
This commit is contained in:
parent
49435d3888
commit
255be0734d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user