Commit b375c5bf authored by vaillancour's avatar vaillancour Committed by Manuel Jander
Browse files

Fix proposal for 2253

parent 43e9da80
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -455,8 +455,11 @@ Word16 Pit_exc_contribution_len_ivas_fx( /* o : bin wher
        Mbands_loc = MBANDS_LOC;
        move16();
    }

#ifndef FIX_2253_CORRECT_GSC_MINIMUM_PIT_SEARCH
    minimum_fx( pitch_buf, nb_subfr, &low_pit );
#else
    minimum_fx( pitch_buf, shr( st_fx->L_frame, 6 ), &low_pit );
#endif
    exp1 = norm_s( low_pit );
    tmp = shl( low_pit, exp1 );
    tmp_dec = 12800;