Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 11 years ago
parent
commit
9cde41cdb5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavutil/version.h

+ 1
- 1
libavutil/version.h View File

@@ -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)



Loading…
Cancel
Save