diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-17 00:21:48 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-17 00:21:48 +0100 |
commit | 06309fc704dc11445bd9f11c0db7e24879508462 (patch) | |
tree | 06154a5e4c7f53325f14848befb1b5c8b7e0e548 /libavutil/attributes.h | |
parent | f8607cfb0a8276de31512c6fabc2be17feff32a2 (diff) | |
download | ffmpeg-06309fc704dc11445bd9f11c0db7e24879508462.tar.gz |
avutil/attributes: Add () to protect the AV_GCC_VERSION_AT_LEAST() arguments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/attributes.h')
-rw-r--r-- | libavutil/attributes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/attributes.h b/libavutil/attributes.h index 7d3f4a91cf..ebcdd6b88c 100644 --- a/libavutil/attributes.h +++ b/libavutil/attributes.h @@ -27,7 +27,7 @@ #define AVUTIL_ATTRIBUTES_H #ifdef __GNUC__ -# define AV_GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > x || __GNUC__ == x && __GNUC_MINOR__ >= y) +# define AV_GCC_VERSION_AT_LEAST(x,y) (__GNUC__ > (x) || __GNUC__ == (x) && __GNUC_MINOR__ >= (y)) #else # define AV_GCC_VERSION_AT_LEAST(x,y) 0 #endif |