Skip to content

Crash for ISM at 24k4 in PostShortTerm_fx()

with e6911975, this command line :

IVAS_dec MONO 32 bit syn

and the following bitstream :

bit

The crash happens due to a saturation at frame 28 in the following code (Ln 759 of SWB_tbe_com_fx.c)

    FOR (n = 0; n < SubFrameLength; n++)
    {
        temp = mult_r(mu , (*ptrs++));
        temp = add (temp ,*ptrs );/*Q12 */
>>>>    sig_out[n] = shl(mult_r( ga , temp),1);
        move16();/*Q12 */
    }

To me, usage of shl_sat could be ok there if the signal is really saturating. But the input signal has nothing particular, using 14 bits of range and having no particular resonance. If the same signal is encoded and decoded with the EVS fix-point at 24.4kps, there is no saturations.