[FFmpeg-cvslog] avutil/log: add () to protect the argument of AV_LOG_C()
Michael Niedermayer
git at videolan.org
Tue Feb 17 00:16:05 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Feb 17 00:04:22 2015 +0100| [61eb602d27af68ae79af13286a16810663f82b9c] | committer: Michael Niedermayer
avutil/log: add () to protect the argument of AV_LOG_C()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=61eb602d27af68ae79af13286a16810663f82b9c
---
libavutil/log.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/log.h b/libavutil/log.h
index e1ff09b..993a4f5 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
More information about the ffmpeg-cvslog
mailing list