[rtmpdump] [PATCH] Remove semicolons from function-like macros

Martin Storsjo martin at martin.st
Tue Oct 30 18:21:21 CET 2012


---
 librtmp/rtmp.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c
index 5ea1c76..a70e084 100644
--- a/librtmp/rtmp.c
+++ b/librtmp/rtmp.c
@@ -2497,7 +2497,7 @@ b64enc(const unsigned char *input, int length, char *output, int maxsize)
 }
 
 #ifdef USE_POLARSSL
-#define md5sum(x,y,z)  md5(x,y,z);
+#define md5sum(x,y,z)  md5(x,y,z)
 #elif defined(USE_GNUTLS)
 static void md5sum(const unsigned char *data, int len, unsigned char *out)
 {
@@ -2507,7 +2507,7 @@ static void md5sum(const unsigned char *data, int len, unsigned char *out)
     md5_digest(&ctx, MD5_DIGEST_LENGTH, out);
 }
 #else
-#define md5sum(x,y,z)  MD5(x,y,z);
+#define md5sum(x,y,z)  MD5(x,y,z)
 #endif
 
 static const AVal av_authmod_adobe = AVC("authmod=adobe");
-- 
1.7.9.4



More information about the rtmpdump mailing list