mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 09:49:14 +00:00
AUDIO: Fix undefined shift in WMACodec::calculateMDCTCoefficients()
See a48b24e5eb
This commit is contained in:
parent
1a8773f3ab
commit
677f6f7e1f
@ -1105,7 +1105,7 @@ void WMACodec::calculateMDCTCoefficients(int bSize, bool *hasChannel,
|
||||
|
||||
// Very high freqs: Noise
|
||||
const int n = _blockLen - _coefsEnd[bSize];
|
||||
const float mult1 = mult * exponents[(-1 << bSize) >> eSize];
|
||||
const float mult1 = mult * exponents[(-(1 << bSize)) >> eSize];
|
||||
|
||||
for (int j = 0; j < n; j++) {
|
||||
*coefs++ = _noiseTable[_noiseIndex] * mult1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user