Commit bf3b1d7d authored by vaillancour's avatar vaillancour
Browse files

change condition of shift_wsp = sub( shift_wsp, 1 ); conditional

parent 19bcf3f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -541,7 +541,7 @@ void encod_gen_voic_ivas_fx(
     * ACELP subframe loop
     *------------------------------------------------------------------*/
#if 1//defined USE_EVS_FUNC_LP && !defined USE_EVS_FUNC_FT_G
    if (L_frame < L_FRAME16k)
    if ( st_fx->core_brate < MIN_BRATE_AVQ_EXC )
        shift_wsp = sub( shift_wsp, 1 );
#endif
    FOR( i_subfr_fx = 0; i_subfr_fx < L_frame; i_subfr_fx += L_SUBFR )
+1 −1
Original line number Diff line number Diff line
@@ -523,7 +523,7 @@ Word16 encod_tran_ivas_fx(
    set16_fx( code_preQ, 0, L_SUBFR );
    shift_wsp = add( Q_new, shift );
#ifdef USE_EVS_FUNC_LP
    if ( L_frame_fx < L_FRAME16k )
    if ( st_fx->core_brate < MIN_BRATE_AVQ_EXC )
        shift_wsp = sub( shift_wsp, 1 );
#endif
    /*----------------------------------------------------------------*