Commit 9cde41cd authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/version: Add () to protect the AV_VERSION_INT() arguments

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 527f1d22
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment