Skip to content

crash at 16.4 kbps for stereo decoder

with e6911975, this command line :

IVAS_dec STEREO 32 bit syn

and the following bitstream :

bit2

The crash happens du to a saturation at Ln431 of LD_music_post_filter_fx.c with a L_shl, the saturation should be allowed here as shown below :

    gain = 0;
    move16();

    /*-----------------------------------------------------------------*
     * Compute the inverse of noise
     *-----------------------------------------------------------------*/

    scaling = add(shl(Qdct,1),10);
#ifdef FIX_SAT_731
    dot5_scaled = L_shl_sat(1, sub(scaling,1));
#else
    dot5_scaled = L_shl(1, sub(scaling,1));
#endif
Edited by vaillancour