commit | 956c3a2c7cca39e663a39aff7059fa00f98598ea | [log] [tgz] |
---|---|---|
author | Ray Essick <essick@google.com> | Fri Oct 05 11:47:34 2018 -0700 |
committer | Ray Essick <essick@google.com> | Mon Nov 12 14:24:33 2018 -0800 |
tree | 5892d83a4e2c7f9394e168b2a3afe98fccffcb18 | |
parent | b98450a73820e26178f97e9232e2bbee53194d99 [diff] |
Avoid add overflow in summation in AMR-WB decoder codec look was doing a int32+= int16*int16 MAC which was overflowing instead of saturating. Standard 3GPP #26.173 says it should saturate. Bug: 112160454 Test: poc no longer crashes Change-Id: I2979425be6b5b7b1dbe6790daf431fc86ab591c5