Skip to content

[Non-BE] Resolve "USAN: index 8 out of bounds for type 'int16_t [8]' in ivas_jbm_dec.c for ISM4 to STEREO decoding"

Reason why this change is needed

On ISM rate switching with output to mono and stereo at a rate switch the TC buffer is updated incorrectly from the common spatial parameter handle on a switch from ParamISM to any other mode because the condition to prevent this is wrong

Description of the change

Fix the condition

Affected operating points

  • ISM RS to mono and stereo output with JBM
  • Produced bitstream is BE compared to previous state (no encoder change).

Related to #1056 (closed)

Merge request reports

Loading