Index: webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.c |
diff --git a/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.c b/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.c |
index 10e05bc31a2e08e759f2d9fb27a4eb2699af57d5..e4d399b61ff4fa1b3deb00aac8671e36f2f760fe 100644 |
--- a/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.c |
+++ b/webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.c |
@@ -234,8 +234,7 @@ static void CalcInvArSpec(const int16_t *ARCoefQ12, |
for (n = 0; n < FRAMESAMPLES/8; n++) { |
const int64_t p = |
(WebRtcIsacfix_kCos[k][n] * (int64_t)CorrQ11[k + 1] + 2) >> 2; |
- RTC_DCHECK_EQ(p, (int32_t)p); // p fits in 32 bits |
- CurveQ16[n] += (int32_t)p; |
+ CurveQ16[n] += WebRtcSpl_SatW64ToW32(p); |
} |
} |