Commit ef248534 authored by vaclav's avatar vaclav
Browse files

fix

parent 55146b97
Loading
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -699,7 +699,16 @@ ivas_error decod_gen_voic_ivas_fx(
        }

        /* update LP filtered gains for the case of frame erasures */
#ifdef REMOVE_EVS_DUPLICATES
        IF( EQ_16( st_fx->element_mode, EVS_MONO ) )
        {
            lp_gain_updt_fx( i_subfr_fx, gain_pit_fx, L_add( norm_gain_code_fx, norm_gain_preQ_fx ), &st_fx->lp_gainp_fx, &st_fx->lp_gainc_fx, L_frame );
        }
        ELSE
#endif
        {
            lp_gain_updt_ivas_fx( i_subfr_fx, gain_pit_fx, L_add( norm_gain_code_fx, norm_gain_preQ_fx ), &st_fx->lp_gainp_fx, &st_fx->lp_gainc_fx, L_frame );
        }

        /*----------------------------------------------------------------------*
         * Find the total excitation