Skip to content

Crash in EVS mono, HQ_HARMONIC mode, related to BASOP_NOGLOB

Basic info

Bug description

EVS mono @ 13.2 kbps crashes in function hq2_bit_alloc_har() at line 642.

lf_hf_ge_r_fx = round_fx( L_shl( L_temp, sub( 15 + 16, sub( add( SWB_BWE_LR_Qbe, QIns ), 30 ) ) ) );

Saturation is happening during the left shift. Can the contributors (Ericsson?) to this part of the code verify it is a normal saturation?

When BASOP_NOGLOB is disabled, the code does not crash

Ways to reproduce

Command line was 13200 48 of.11_0_76.wav bit

crashed at frame 3791.

Edited by vaclav