Commit 52d19290 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/aes: Add () to protect the ROT() arguments

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 06309fc7
......@@ -62,9 +62,9 @@ static uint32_t dec_multbl[4][256];
#endif
#if HAVE_BIGENDIAN
# define ROT(x, s) ((x >> s) | (x << (32-s)))
# define ROT(x, s) (((x) >> (s)) | ((x) << (32-(s))))
#else
# define ROT(x, s) ((x << s) | (x >> (32-s)))
# define ROT(x, s) (((x) << (s)) | ((x) >> (32-(s))))
#endif
static inline void addkey(av_aes_block *dst, const av_aes_block *src,
......
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