[rtmpdump] [PATCH] Remove semicolons from function-like macros
Howard Chu
hyc at highlandsun.com
Tue Oct 30 19:21:16 CET 2012
This patch is obsoleted by my latest commit.
Martin Storsjo wrote:
> ---
> 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");
>
More information about the rtmpdump
mailing list