Skip to content

Assertion in Calc_st_filt_tbe_ivas_dec_fx for BASOP decoder using bitstream from BASOP encoder with OMASA LTV input and rate switching

Basic info

Bug description

There is an assert in frame 540 of BASOP decoder when fed with bitstream from BASOP encoder using OMASA LTV input with bitrate switching enabled. The stack trace is following:

Screenshot_2025-01-22_at_15.50.39

Ways to reproduce

Use the following command lines with this rate switching sequence

omasa_4obj_techs_start_384k_20frames.bin

IVAS_cod -ism_masa 4 2 ltv48_OMASA_4ISM_2TC_ISM1.csv ltv48_OMASA_4ISM_2TC_ISM2.csv ltv48_OMASA_4ISM_2TC_ISM3.csv ltv48_OMASA_4ISM_2TC_ISM4.csv ltv48_OMASA_4ISM_2TC.met -max_band fb  omasa_4obj_techs_start_384k_20frames.bin 48 ltv48_OMASA_4ISM_2TC.wav test_0171.bs
IVAS_dec MONO 48 test_0171.bs 0171_ltv48_OMASA_4ISM_2TC.wav_omasa_4obj_techs_start_384k_20frames_48-48___MONO.wav

Note that the encoder needs to be BASOP one for this to happen.