Skip to content

MC RS HRFT handle not set to NULL

Basic info

Bug description

When decoding to binaural with head rotation for MCT the TD binaural rendere is used, which at opening initializes also a HRTF struct that is shared with the main decoder struct. On a rate switch to another MC mode the HRTF data is deallocated but the handle in the main decoder struct not set to zero, leading to an initialization error on the next switch to MCT.

Ways to reproduce

Use this tailored rs file:hrtferror_rs.bin

.\IVAS_cod.exe -mc 5_1 .\hrtferror_rs.bin 48 .\scripts\testv\stv51MC48c.wav test.192
 .\IVAS_dec.exe -t .\scripts\testv\headrot.csv BINAURAL 48 test.192 test.wav