diff options
author | Måns Rullgård <mans@mansr.com> | 2010-05-09 20:32:35 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-05-09 20:32:35 +0000 |
commit | cc6849ae50b419443bcce31eacb9d57b83291eac (patch) | |
tree | 6925daff9544bcd1c82d6037daab5832dbf500eb /libavutil | |
parent | 0613ece542421ddcbd061f355ad50ad9f2bb734a (diff) | |
download | ffmpeg-cc6849ae50b419443bcce31eacb9d57b83291eac.tar.gz |
bswap: 10L add missing parens around macro args
Originally committed as revision 23070 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/bswap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/bswap.h b/libavutil/bswap.h index 2d36f2e2ea..6dd2a3511a 100644 --- a/libavutil/bswap.h +++ b/libavutil/bswap.h @@ -43,8 +43,8 @@ #endif #define AV_BSWAP16C(x) (((x) << 8 & 0xff00) | ((x) >> 8 & 0x00ff)) -#define AV_BSWAP32C(x) (AV_BSWAP16C(x) << 16 | AV_BSWAP16C(x >> 16)) -#define AV_BSWAP64C(x) (AV_BSWAP32C(x) << 32 | AV_BSWAP32C(x >> 32)) +#define AV_BSWAP32C(x) (AV_BSWAP16C(x) << 16 | AV_BSWAP16C((x) >> 16)) +#define AV_BSWAP64C(x) (AV_BSWAP32C(x) << 32 | AV_BSWAP32C((x) >> 32)) #define AV_BSWAPC(s, x) AV_BSWAP##s##C(x) |