mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-02 20:35:37 +02:00
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…
x
Reference in New Issue
Block a user