Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-17 02:04:22 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-02-17 02:04:22 +0300
commit61eb602d27af68ae79af13286a16810663f82b9c (patch)
treea35059a3e10b9dec2f252a7cc27ff46f24a36ef2 /libavutil/log.h
parente3f71423068b9b8ffa9ebc69ae566e018f48cadf (diff)
avutil/log: add () to protect the argument of AV_LOG_C()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/log.h')
-rw-r--r--libavutil/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/log.h b/libavutil/log.h
index e1ff09bc65..993a4f5bed 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