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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-11-18 03:42:40 +01:00
parent 4cd4a6de4f
commit 9bb6e1175f
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
#define FF_SANE_NB_CHANNELS 63U #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 #if HAVE_AVX
# define STRIDE_ALIGN 32 # define STRIDE_ALIGN 32