Commit 4f1c1b26 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dss_sp: Protect DSS_SP_FORMULA() with a set of outside brackets

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent be0cb7e0
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#define DSS_SP_FRAME_SIZE 42 #define DSS_SP_FRAME_SIZE 42
#define DSS_SP_SAMPLE_COUNT (66 * SUBFRAMES) #define DSS_SP_SAMPLE_COUNT (66 * SUBFRAMES)
#define DSS_SP_FORMULA(a, b, c) ((((a) << 15) + (b) * (c)) + 0x4000) >> 15 #define DSS_SP_FORMULA(a, b, c) (((((a) << 15) + (b) * (c)) + 0x4000) >> 15)
typedef struct DssSpSubframe { typedef struct DssSpSubframe {
int16_t gain; int16_t gain;
......
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