]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/log.h
avutil/log: add () to protect the argument of AV_LOG_C()
[ffmpeg] / libavutil / log.h
index e1ff09bc65b0c7afb6e0d433f7c0421c5c94a256..993a4f5bed4c3f7048d1b70e06d9fc537f8ab817 100644 (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