diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2010-06-22 15:02:09 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2010-06-22 15:02:09 +0000 |
commit | 1c7c0e2d4077cfb9128a08cb77ef06eecdc8db34 (patch) | |
tree | d530cf05a5bd7ce2f21e16a3604ef2bd3f68623b /libavutil/common.h | |
parent | 9290f15d00881ce028a5c18810a8d5af07bad2c7 (diff) | |
download | ffmpeg-1c7c0e2d4077cfb9128a08cb77ef06eecdc8db34.tar.gz |
Add missing parentheses in MKTAG and MKBETAG macros.
Originally committed as revision 23711 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/common.h')
-rw-r--r-- | libavutil/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/common.h b/libavutil/common.h index 4aa00a9971..ba67b4a559 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -178,8 +178,8 @@ static inline av_const int av_ceil_log2(int x) return av_log2((x - 1) << 1); } -#define MKTAG(a,b,c,d) (a | (b << 8) | (c << 16) | (d << 24)) -#define MKBETAG(a,b,c,d) (d | (c << 8) | (b << 16) | (a << 24)) +#define MKTAG(a,b,c,d) ((a) | ((b) << 8) | ((c) << 16) | ((d) << 24)) +#define MKBETAG(a,b,c,d) ((d) | ((c) << 8) | ((b) << 16) | ((a) << 24)) /*! * \def GET_UTF8(val, GET_BYTE, ERROR) |