diff options
Diffstat (limited to 'src/opus_decoder.h')
-rw-r--r-- | src/opus_decoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_decoder.h b/src/opus_decoder.h index e6f05344..82d9be2f 100644 --- a/src/opus_decoder.h +++ b/src/opus_decoder.h @@ -51,7 +51,7 @@ struct OpusDecoder { #endif }; -inline short ADD_SAT16(a, b) { +inline short ADD_SAT16(short a, short b) { int sum = a + b; return sum > 32767 ? 32767 : sum < -32768 ? -32768 : (short)sum; }; |