Skip to content

MC RS does not reallocate the necessary number of channels on the heap

Basic info

Bug description

MC RS does not check if the number of channels needed on the heap are needed to be reallocated.

Ways to reproduce

Causes e.g. problems with RS and decoding do BINAURAL including head rotation. Example

IVAS_cod.exe -mc 7_1_4 -max_band fb .\scripts\switchPaths\sw_13k2_512k.bin 48 .\scripts\testv\stv714MC48c.wav test.192
IVAS_dec.exe -t .\scripts\testv\headrot.csv BINAURAL 48 test.192 test.wav

This starts with McMASA, allocates for 7.1.4, i.e. 12 channels, switches to MCT which has HOA3 as internal format for head rotation and then has not enough channels available.