mirror of https://git.ffmpeg.org/ffmpeg.git
avutil/log: add () to protect the argument of AV_LOG_C()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e3f7142306
commit
61eb602d27
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue