Assertion error in BWE of SCE decoding in OMASA

Basic info

  • Encoder (float): d18cbee3
  • Decoder: 9d43551e

Bug description

Decoding 80 kbps ISM3 OMASA crashes with assertion error in SCE decoding in BWE functions.

Ways to reproduce

Material: LTV

Float encoding

ivas-float-reference/IVAS_cod -ism_masa 3 2 ivas-pc-testfiles/ltv48_OMASA_3ISM_2TC_ISM1.csv ivas-pc-testfiles/ltv48_OMASA_3ISM_2TC_ISM2.csv ivas-pc-testfiles/ltv48_OMASA_3ISM_2TC_ISM3.csv ivas-pc-testfiles/ltv48_OMASA_3ISM_2TC.met -max_band fb 80000 48 ivas-pc-testfiles/ltv48_OMASA_3ISM_2TC.wav test.bs

Float decoding (works, output mode is irrelevant for the crash):

ivas-float-reference/IVAS_dec BINAURAL 48 test.bs float.wav

BASOP decoding (assertion error):

ivas-basop/IVAS_dec BINAURAL 48 test.bs float_basop.wav

This crashes in frame 4728 with the following call stack:

L_shl basop32.c:2590
L_shl basop32.c:2590
hq_generic_decoding_fx swb_bwe_com_fx.c:3008
hq_bwe_fx hq_tools_fx.c:2148
ivas_fill_spectrum_fx fill_spectrum.c:492
ivas_hq_hr_dec_fx hq_hr_dec_fx.c:390
ivas_hq_core_dec_fx hq_core_dec_fx.c:824
ivas_core_dec_fx ivas_core_dec.c:667
ivas_sce_dec_fx ivas_sce_dec_fx.c:301
ivas_jbm_dec_tc_fx ivas_jbm_dec.c:806
IVAS_DEC_GetTcSamples lib_dec_fx.c:1440
IVAS_DEC_GetSamples lib_dec_fx.c:1076
decodeG192 decoder.c:1723
main decoder.c:604
Assignee Loading
Time tracking Loading