Commit f431315a authored by Anton Khirnov's avatar Anton Khirnov Committed by Luca Barbato

vf_overlay: ensure the overlay frame does not get leaked.

Signed-off-by: default avatarLuca Barbato <>
parent 08fc1ad1
......@@ -239,6 +239,7 @@ static int start_frame_overlay(AVFilterLink *inlink, AVFilterBufferRef *inpicref
OverlayContext *over = ctx->priv;
inlink->cur_buf = NULL;
over->overpicref = inpicref;
over->overpicref->pts = av_rescale_q(inpicref->pts, ctx->inputs[OVERLAY]->time_base,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment