From 67a304985e35b39d1f1d7de3c156db39211caf18 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 23 Jul 2012 13:44:05 +0200 Subject: [PATCH] vf_overlay: fix missed return Signed-off-by: Michael Niedermayer --- libavfilter/vf_overlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index 935274f06d..05e9e1b480 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -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,