mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
4cd4a6de4f
commit
9bb6e1175f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue