aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-17 00:17:21 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-17 00:17:47 +0100
commit9cde41cdb511f20cd9dfd66c36b1837023e4fec8 (patch)
treedeb2531487ee33597028189f05c24178a8667635
parent527f1d22a1a462986715842b97018ef1accc1317 (diff)
downloadffmpeg-9cde41cdb511f20cd9dfd66c36b1837023e4fec8.tar.gz
avutil/version: Add () to protect the AV_VERSION_INT() arguments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/version.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/version.h b/libavutil/version.h
index 053bd990d1..73bf398dff 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -32,7 +32,7 @@
* @{
*/
-#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
+#define AV_VERSION_INT(a, b, c) ((a)<<16 | (b)<<8 | (c))
#define AV_VERSION_DOT(a, b, c) a ##.## b ##.## c
#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)