diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-17 00:17:21 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-17 00:17:47 +0100 |
commit | 9cde41cdb511f20cd9dfd66c36b1837023e4fec8 (patch) | |
tree | deb2531487ee33597028189f05c24178a8667635 | |
parent | 527f1d22a1a462986715842b97018ef1accc1317 (diff) | |
download | ffmpeg-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.h | 2 |
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) |