Skip to content

[Non-BE] Resolve "JBM MASA DTX sid start crashes"

Reason why this change is needed

JBM has a function that determines the number of transport channels that need to go through the time scale modification. In case of MASA with DTX and decoding to STEREO with the first frame beeing a sid frame, it tries to access the first CPE handle which is still NULL at this point.

Description of the change

Make sure to not access the first CPE handle. The added condition also makes sure that the correct result is returned, since afterwards the CPE will be initialized with nchan_out being 2.

Affected operating points

  • JBM MASA DTX with a SID frame as first frame
  • Produced bitstream is BE compared to previous state (no encoder changes).

Related to #846 (closed)

Merge request reports

Loading