Fixes the stereo_analysis() fixed-point overflow issue properly
This commit is contained in:
parent
7143b2d0ff
commit
14d63d1879
2 changed files with 8 additions and 8 deletions
|
@ -69,7 +69,7 @@ struct OpusDecoder {
|
|||
#ifdef FIXED_POINT
|
||||
static inline opus_int16 SAT16(opus_int32 x) {
|
||||
return x > 32767 ? 32767 : x < -32768 ? -32768 : (opus_int16)x;
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue