diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-25 19:25:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-25 19:25:58 +0200 |
commit | eb718f4c532c21cb33e3c85581628f6def9710e0 (patch) | |
tree | e887488ca4840e9c57a12cd84ee6e0562f35e88f /libavcodec/opus.h | |
parent | d62a4707f92e58356a0d5459ca3a919bafe29280 (diff) | |
download | ffmpeg-eb718f4c532c21cb33e3c85581628f6def9710e0.tar.gz |
avcodec/opus: Fix () in ROUND_MULL() macro
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/opus.h')
-rw-r--r-- | libavcodec/opus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/opus.h b/libavcodec/opus.h index a1e8ed0e18..543d90c609 100644 --- a/libavcodec/opus.h +++ b/libavcodec/opus.h @@ -57,7 +57,7 @@ #define SILK_HISTORY 322 #define SILK_MAX_LPC 16 -#define ROUND_MULL(a,b,s) (((MUL64(a, b) >> (s - 1)) + 1) >> 1) +#define ROUND_MULL(a,b,s) (((MUL64(a, b) >> ((s) - 1)) + 1) >> 1) #define ROUND_MUL16(a,b) ((MUL16(a, b) + 16384) >> 15) #define opus_ilog(i) (av_log2(i) + !!(i)) |