Skip to content

Assertion in BASOP stereo encoder (bitrate switching, DTX on)

The stereo encoder crashes at frame 860 when using the following command-line parameters:

./IVAS_cod -dtx -max_band swb scripts/switchPaths/swb_low1.bin 32 stv48c_32_MONO.pcm bit

Input File:
stv48c_32_MONO.pcm

Bitrate Switching Pattern: swb_low1.bin

Error Message:

IVAS_cod: lib_com/basop32.c:834: shl: Assertion `0' failed.
Aborted (core dumped)

Call Stack:

shl(short var1, short var2) Line 792    
ton_ene_est_fx(...) Line 2390  
gethar_noisegn_fx(...) Line 836  
EncodeSWBSubbands_fx(...) Line 942  
swb_bwe_enc_lr_fx(...) Line 1292  
hq_lr_enc_fx(...) Line 1065  
hq_core_enc_fx(...) Line 273  
evs_enc_fx(...) Line 332  
IVAS_ENC_EncodeFrameToSerial(...) Line 1731  
main(...) Line 709