vf_overlay: fix missed return
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Jul 2012 11:44:05 +0000 (13:44 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 23 Jul 2012 11:44:05 +0000 (13:44 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_overlay.c

index 935274f..05e9e1b 100644 (file)
@@ -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,