[non-be] Fix issue 1004 in ivas_masa_dec()
requested to merge 1004-usan-implicit-conversion-from-signed-to-unsigned-integer-changes-value-in-ivas_masa_dec-c into main
- Related issues: #1004 (closed)
- Requested reviewers: @pihlajakuja
Reason why this change is needed
- There was an USAN issue caused by conversion to uint8 of a negative value. The underlying issue was that the number of directions in MASA in DTX, when used for EXT mode was not set to 1
Description of the change
- The number of MASA metadata directions was set to 1 in hMasa variable to be correctly set when used in EXT mode.
Affected operating points
- Describe here as well as possible what operating points are affected and how Produced bitstream is non-BE but it is fully backwards compatible for decoding. Decoded output may differ. The affected modes are MASA 1 & 2TC in DTX for EXT output mode.
- For output difference, use BE or non-BE. Additionally, amount of difference can be presented.
Related to #1004 (closed)