summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/libopus/celt/float_cast.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt/float_cast.h')
-rw-r--r--lib/rbcodec/codecs/libopus/celt/float_cast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rbcodec/codecs/libopus/celt/float_cast.h b/lib/rbcodec/codecs/libopus/celt/float_cast.h
index 5ded291599..ede6574860 100644
--- a/lib/rbcodec/codecs/libopus/celt/float_cast.h
+++ b/lib/rbcodec/codecs/libopus/celt/float_cast.h
@@ -101,7 +101,7 @@
101 #include <math.h> 101 #include <math.h>
102 102
103 /* Win32 doesn't seem to have these functions. 103 /* Win32 doesn't seem to have these functions.
104 ** Therefore implement inline versions of these functions here. 104 ** Therefore implement OPUS_INLINE versions of these functions here.
105 */ 105 */
106 106
107 __inline long int 107 __inline long int
@@ -128,7 +128,7 @@
128#endif 128#endif
129 129
130#ifndef DISABLE_FLOAT_API 130#ifndef DISABLE_FLOAT_API
131static inline opus_int16 FLOAT2INT16(float x) 131static OPUS_INLINE opus_int16 FLOAT2INT16(float x)
132{ 132{
133 x = x*CELT_SIG_SCALE; 133 x = x*CELT_SIG_SCALE;
134 x = MAX32(x, -32768); 134 x = MAX32(x, -32768);