Commit 67a30498 authored by Michael Niedermayer's avatar Michael Niedermayer

vf_overlay: fix missed return

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 61230797
......@@ -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,
......
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