Commit 178dd42c authored by Ray Essick's avatar Ray Essick
Browse files

Fix integer overflow diagnostics within opus

Recast several points in the Opus code where integer overflow happens.
The code expects overflow in these macros, but doesn't expect the
system to abort when it happens. This also includes saturating math.

Bug: 123428774
Test: Cts android.media.cts.EncoderTest#testOpusEncoders
parent 31ed9ac2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment