OSDN Git Service

Do not use return with argument for a function "returning" void.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 13 May 2007 16:26:16 +0000 (16:26 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 13 May 2007 16:26:16 +0000 (16:26 +0000)
Originally committed as revision 9016 to svn://svn.ffmpeg.org/ffmpeg/trunk

vhook/watermark.c

index aa6fee6..3d8313a 100644 (file)
@@ -435,9 +435,9 @@ void Process(void *ctx,
 {
     ContextInfo *ci = (ContextInfo *) ctx;
     if (1 == ci->mode) {
-        return Process1(ctx, picture, pix_fmt, src_width, src_height, pts);
+        Process1(ctx, picture, pix_fmt, src_width, src_height, pts);
     } else {
-        return Process0(ctx, picture, pix_fmt, src_width, src_height, pts);
+        Process0(ctx, picture, pix_fmt, src_width, src_height, pts);
     }
 }