Skip to content

OMASA float decoder crashes with BASOP created bitstream

Basic info

  • Float reference:
    • Encoder (float):
    • Decoder (float): d11999bb
  • Fixed point:
    • Encoder (fixed): 0df52ff5
    • Decoder (fixed):

Bug description

OMASA bitstream MASA 2TC + 4 ISM created with BASOP encoder crashes in the float-reference decoder.

The error produced by the decoder is

Assertion failed: st->BER_detect != 1, file C:\Code\ivas-basop\lib_dec\ivas_mdct_core_dec.c, line 614

Ways to reproduce

At least following three bitrates crash at the same spot 64, 80 and 96 kbps.

The problematic test vector can be found in

Box folder: ...\Box_EXTERNAL_IVAS_BASOP_VERIFICATION\issues\issue-1444

REM Crash1
..\IVAS_cod_basop  -max_band FB -ism_masa 4 2 sample_o1.csv sample_o2.csv sample_o3.csv sample_o4.csv sample_auto.met 64000 48 sample_auto.wav  sp_c20_cln.bit
..\IVAS_dec_basopf BINAURAL 48 sp_c20_cln.bit sp_c20_BINAURAL.wav

REM Crash2
..\IVAS_cod_basop  -max_band FB -ism_masa 4 2 sample_o1.csv sample_o2.csv sample_o3.csv sample_o4.csv sample_auto.met 80000 48 sample_auto.wav  sp_c24_cln.bit
..\IVAS_dec_basopf BINAURAL 48 sp_c24_cln.bit sp_c24_BINAURAL.wav

REM Crash3
..\IVAS_cod_basop  -max_band FB -ism_masa 4 2 sample_o1.csv sample_o2.csv sample_o3.csv sample_o4.csv sample_auto.met 96000 48 sample_auto.wav  sp_c25_cln.bit
..\IVAS_dec_basopf BINAURAL 48 sp_c25_cln.bit sp_c25_BINAURAL.wav

Edited by ramoa