Commit b1165002 authored by mru's avatar mru

bswap: 10L add missing parens around macro args

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23070 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4017ba56
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
#endif #endif
#define AV_BSWAP16C(x) (((x) << 8 & 0xff00) | ((x) >> 8 & 0x00ff)) #define AV_BSWAP16C(x) (((x) << 8 & 0xff00) | ((x) >> 8 & 0x00ff))
#define AV_BSWAP32C(x) (AV_BSWAP16C(x) << 16 | AV_BSWAP16C(x >> 16)) #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_BSWAP64C(x) (AV_BSWAP32C(x) << 32 | AV_BSWAP32C((x) >> 32))
#define AV_BSWAPC(s, x) AV_BSWAP##s##C(x) #define AV_BSWAPC(s, x) AV_BSWAP##s##C(x)
......
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