diff options
Diffstat (limited to 'celt/float_cast.h')
-rw-r--r-- | celt/float_cast.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/celt/float_cast.h b/celt/float_cast.h index 5ded2915..ede65748 100644 --- a/celt/float_cast.h +++ b/celt/float_cast.h @@ -101,7 +101,7 @@ #include <math.h> /* Win32 doesn't seem to have these functions. - ** Therefore implement inline versions of these functions here. + ** Therefore implement OPUS_INLINE versions of these functions here. */ __inline long int @@ -128,7 +128,7 @@ #endif #ifndef DISABLE_FLOAT_API -static inline opus_int16 FLOAT2INT16(float x) +static OPUS_INLINE opus_int16 FLOAT2INT16(float x) { x = x*CELT_SIG_SCALE; x = MAX32(x, -32768); |