Skip to content

BASOP assert in SBA decoding with external hrtf file

Basic info

Bug description

The self test case "SBA 3OA bitrate switching from 13.2 kbps to 512 kbps, 48kHz in, 48kHz out, BINAURAL out (Model from file)" with LTV signal runs into a BASOP assert in the decoder:

Frames processed:       2815    Assertion failed: (mantissa > 0), function ISqrt32, file basop_util.c, line 532.
fish: Job 1, './IVAS_dec -hrtf scripts/binaur…' terminated by signal SIGABRT (Abort)

Screenshot 2025-12-08 at 12.32.37.png

Ways to reproduce

Run testcase from scripts/config/self_test_ltv.prm:

// SBA 3OA bitrate switching from 13.2 kbps to 512 kbps, 48kHz in, 48kHz out, BINAURAL out (Model from file)


../IVAS_cod -sba 3 ../scripts/switchPaths/sw_13k2_512k.bin 48 testv/ltv48_HOA3.wav bit
../IVAS_dec -hrtf ../scripts/binauralRenderer_interface/binaural_renderers_hrtf_data/ivas_binaural_48kHz.bin BINAURAL 48 bit testv/ltv48_HOA3.wav_sw_48-48_BINAURAL.tst
Edited by Jan Kiene