Skip to content

decoder crash in SBA with head rotation at high BR

With head rotation at high bitrates, the decoder stops at an assert.

command line:

./IVAS_cod.exe -sba 3 256000 48 input.raw bit
./IVAS_dec.exe -T ./scripts/trajectories/full-circle-15s.csv BINAURAL 48 bit bin.wav

output:

Frames processed:       Assertion failed: num_inputs == 4 && "This code block should never be run with num_inputs != 4!"

I believe that this comes from shd_rot_max_order set to an incorrect value. This happens because the of channels in nchan_internal is not equal to nchan_transport at BR >= 256 kbps.