mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-11 06:58:18 +00:00
vf_overlay: prevent premature freeing of cur_buf
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0ecaa447f6
commit
f7e0c18549
@ -560,6 +560,7 @@ static void end_frame_over(AVFilterLink *inlink)
|
||||
AVFilterContext *ctx = inlink->dst;
|
||||
OverlayContext *over = ctx->priv;
|
||||
AVFilterBufferRef *inpicref = inlink->cur_buf;
|
||||
inlink->cur_buf = NULL;
|
||||
|
||||
flush_frames(ctx);
|
||||
inpicref->pts = av_rescale_q(inpicref->pts, ctx->inputs[OVERLAY]->time_base,
|
||||
|
Loading…
Reference in New Issue
Block a user