diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 00:29:02 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-20 00:29:02 +0300 |
commit | 4f1c1b26f23441f99690e01acea81d26c3d02590 (patch) | |
tree | adc2d01200cea2687b2c5c7161279f3e4d41d1d1 | |
parent | be0cb7e053850b68aa21f4ebfe239f149e60cb5b (diff) |
avcodec/dss_sp: Protect DSS_SP_FORMULA() with a set of outside brackets
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/dss_sp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dss_sp.c b/libavcodec/dss_sp.c index 2e8cc95b16..6f24b4482a 100644 --- a/libavcodec/dss_sp.c +++ b/libavcodec/dss_sp.c @@ -33,7 +33,7 @@ #define DSS_SP_FRAME_SIZE 42 #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 { int16_t gain; |