Commit 9bb6e117 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/internal: Add () to argument of FF_SIGNBIT() to ensure correct order or operations

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4cd4a6de
......@@ -35,7 +35,7 @@
#define FF_SANE_NB_CHANNELS 63U
#define FF_SIGNBIT(x) (x >> CHAR_BIT * sizeof(x) - 1)
#define FF_SIGNBIT(x) ((x) >> CHAR_BIT * sizeof(x) - 1)
#if HAVE_AVX
# define STRIDE_ALIGN 32
......
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