diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-17 00:04:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-17 00:04:22 +0100 |
commit | 61eb602d27af68ae79af13286a16810663f82b9c (patch) | |
tree | a35059a3e10b9dec2f252a7cc27ff46f24a36ef2 /libavutil/log.h | |
parent | e3f71423068b9b8ffa9ebc69ae566e018f48cadf (diff) | |
download | ffmpeg-61eb602d27af68ae79af13286a16810663f82b9c.tar.gz |
avutil/log: add () to protect the argument of AV_LOG_C()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/log.h')
-rw-r--r-- | libavutil/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |