Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-25 21:25:58 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-05-25 21:25:58 +0400
commiteb718f4c532c21cb33e3c85581628f6def9710e0 (patch)
treee887488ca4840e9c57a12cd84ee6e0562f35e88f /libavcodec/opus.h
parentd62a4707f92e58356a0d5459ca3a919bafe29280 (diff)
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.h2
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))