[FFmpeg-devel] [PATCH] watermark.c: void function returning value of void function
Reimar Doeffinger
Reimar.Doeffinger
Sun May 13 14:29:47 CEST 2007
Hello,
maybe this actually is valid C, but at the least it is confusing, and
some C compilers won't accept it (though that does not say much, it is
the Sun C compiler and it sure does have its share of bugs...)
Okay to apply?
Greetings,
Reimar Doeffinger
-------------- next part --------------
Index: vhook/watermark.c
===================================================================
--- vhook/watermark.c (revision 9014)
+++ vhook/watermark.c (working copy)
@@ -435,9 +435,9 @@
{
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);
}
}
More information about the ffmpeg-devel
mailing list