From 61eb602d27af68ae79af13286a16810663f82b9c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 17 Feb 2015 00:04:22 +0100 Subject: [PATCH] avutil/log: add () to protect the argument of AV_LOG_C() Signed-off-by: Michael Niedermayer --- libavutil/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/log.h b/libavutil/log.h index e1ff09bc65..993a4f5bed 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -209,7 +209,7 @@ typedef struct AVClass { * Requires 256color terminal support. Uses outside debugging is not * recommended. */ -#define AV_LOG_C(x) (x << 8) +#define AV_LOG_C(x) ((x) << 8) /** * Send the specified message to the log if the level is less than or equal