Resolve "Decoder crash for MC 5.1 at 192kbps JBM error profile 6"
- Related issues: #1215 (closed)
- Requested reviewers:
Reason why this change is needed
- Assert hit in decoder, see #1215 (closed)
Description of the change
- Limit
maxScaling
in the playout adaption part of the JBM to a sensible range of values. This avoids integer overflows when convertingmaxScaling
from milliseconds to samples.
Affected operating points
- Encoder: Produced bitstream is BE compared to previous state.
- Decoder:
- BE in non-VoIP mode.
- In VoIP mode non-BE may occur only in very specific cases where an integer overflow occurred but the resulting value happened not to trigger the assert described in #1215 (closed).
Related to #1215 (closed)