Fix for UBSAN issue in RC context mapping
- Related issues: ivas-codec-pc/ivas-codec#1464
- Requested reviewers: @kiene
Reason why this change is needed
- UBSAN error in RC context mapping (integer overflow); this MR mirrors changes from float
Description of the change
- Use masking to avoid the integer overflows; this is a BE change, since only the lowest 8 bit of this variable are eventually used
Affected operating points
- BE over all operating points
Edited by multrus