vf_overlay: fix missed return
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
612307978d
commit
67a304985e
@ -529,7 +529,7 @@ static int draw_slice_main(AVFilterLink *inlink, int y, int h, int slice_dir)
|
||||
AVFilterBufferRef *outpicref = outlink->out_buf;
|
||||
|
||||
if (!outpicref)
|
||||
return;
|
||||
return 0;
|
||||
if (over->overpicref &&
|
||||
y + h > over->y && y < over->y + over->overpicref->video->h) {
|
||||
blend_slice(ctx, outpicref, over->overpicref, over->x, over->y,
|
||||
|
Loading…
Reference in New Issue
Block a user