Commit 61eb602d authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/log: add () to protect the argument of AV_LOG_C()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e3f71423
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment