Commit c7bb359a authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch 'asan_fix_bug_fix_pitch_gain' into 'main'

ASAN error fix in encoder and Missing lowrate_pitchGain added inside enc_pit_exc [allow regression]

See merge request !1347
parents 0df52ff5 fd97a327
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -775,6 +775,8 @@ void enc_pit_exc_ivas_fx(
            push_indice( hBstr, IND_LP_FILT_SELECT, lp_select, 1 );
        }

        st_fx->hSpMusClas->lowrate_pitchGain = mac_r( L_mult( 29491 /* 0.9 in Q15 */, st_fx->hSpMusClas->lowrate_pitchGain ), 3277 /* 0.1 in Q15 */, gain_pit ); /* Q14 */

        gpit_tmp = gain_pit;
        move16(); /*Q14*/
        test();
+1 −1
Original line number Diff line number Diff line
@@ -251,7 +251,7 @@ Word32 mslvq_cng_ivas_fx(
    move16();
    p_inv_sigma = inv_sigma_MSLVQ_fx[mode]; // Q15
    move16();
    p_scales = scales_fx[mode_glb]; // Q11
    p_scales = scales_ivas_fx[mode_glb]; // Q11
    move16();

    no_scales[0] = 0;