1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-01 08:54:48 +02:00

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-02-17 00:04:22 +01:00
parent e3f7142306
commit 61eb602d27

View File

@ -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