Skip to content

Assertion in DetectTnsFilt_ivas_fx()

An assertion failure occurs in the TNS encoder in frame 10 at the following line in tns_base_enc_fx.c (line 693):

assert( n < (Word16) ( sizeof( tmpbuf ) / sizeof( Word16 ) ) );

Steps to Reproduce:

./IVAS_cod -masa 1 scripts/testv/stv1MASA1TC48c.met -max_band fb scripts/switchPaths/sw_13k2_512k.bin 48 stv1MASA1TC48c_48_MASA1TC.pcm bit

Inputs:

Call Stack:

DetectTnsFilt_ivas_fx(...) Line 693    C  
TNSAnalysis_ivas_fx(...) Line 790  
core_signal_analysis_high_bitrate_ivas_fx(...) Line 1343  
stereo_tcx_core_enc(...) Line 391  
ivas_core_enc(...) Line 373  
ivas_sce_enc_fx(...) Line 351  
ivas_enc_fx(...) Line 294  
IVAS_ENC_EncodeFrameToSerial(...) Line 1761  
main(...) Line 731  
Edited by Ghost User