Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5bd8b6a6 authored by Ray Essick's avatar Ray Essick
Browse files

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
parent a0fd81b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment