mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
avcodec/ac3: add () to protect the macro arguments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0b638b83c6
commit
cb9d40451c
@ -67,8 +67,8 @@
|
||||
#define AC3_RENAME(x) x ## _fixed
|
||||
#define AC3_NORM(norm) (1<<24)/(norm)
|
||||
#define AC3_MUL(a,b) ((((int64_t) (a)) * (b))>>12)
|
||||
#define AC3_RANGE(x) (x|((x&128)<<1))
|
||||
#define AC3_HEAVY_RANGE(x) (x<<1)
|
||||
#define AC3_RANGE(x) ((x)|(((x)&128)<<1))
|
||||
#define AC3_HEAVY_RANGE(x) ((x)<<1)
|
||||
#define AC3_DYNAMIC_RANGE(x) (x)
|
||||
#define AC3_SPX_BLEND(x) (x)
|
||||
#define AC3_DYNAMIC_RANGE1 0
|
||||
|
Loading…
Reference in New Issue
Block a user