Skip to content

Assertion in McMASA encoder when computing LFE energy

There is an assertion in the funticon computeLfeEnergy_fx() in file ivas_mcmasa_enc.c, line 2258 in frame 0:

lowpassCoef = L_shl( div_w( 1, (Word32) hMcMasa->ringBufferSize ), Q7 ); // Q.38

Steps to Reproduce:

./IVAS_cod -mc 5_1_4 -max_band wb 64000 16 stv514MC48c_16_5_1_4.pcm bit

Inputs:

Call Stack:

computeLfeEnergy_fx(...) Line 2258	
ivas_mcmasa_enc_fx(...) Line 685
ivas_enc_fx(...) Line 626
IVAS_ENC_EncodeFrameToSerial(...) Line 1761
main(...) Line 731