Commit 57ed999b authored by vaillancour's avatar vaillancour
Browse files

small fix to previous commit to correct a crash

parent c25ddaff
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -650,10 +650,10 @@ void decod_gen_2sbfr_ivas_fx(
         * Excitation enhancements (update of total excitation signal)
         * called twice because adapting it to double the subfr length would need lot of modifications
         *----------------------------------------------------------------*/
#ifdef FIX_734_MISSING_SUBFR_LOW_RATE_ACELP
        enhancer_fx( st->core_brate, 0, GENERIC, i_subfr, L_frame, voice_fac, st->stab_fac_fx, norm_gain_code, gain_inov, &st->gc_threshold_fx, code, exc2 + i_subfr, gain_pit, &st->dm_fx, st->Q_exc );
#if 1//def FIX_734_MISSING_SUBFR_LOW_RATE_ACELP
        enhancer_fx( st->core_brate, 0, GENERIC, i_subfr, L_frame, voice_fac, st->stab_fac_fx, norm_gain_code, gain_inov, &st->gc_threshold_fx, code, exc2 , gain_pit, &st->dm_fx, st->Q_exc );

        enhancer_fx( st->core_brate, 0, GENERIC, i_subfr, L_frame, voice_fac, st->stab_fac_fx, norm_gain_code, gain_inov, &st->gc_threshold_fx, code + L_SUBFR, exc2 + i_subfr + L_SUBFR, gain_pit, &st->dm_fx, st->Q_exc );
        enhancer_fx( st->core_brate, 0, GENERIC, i_subfr, L_frame, voice_fac, st->stab_fac_fx, norm_gain_code, gain_inov, &st->gc_threshold_fx, code + L_SUBFR, exc2 + L_SUBFR, gain_pit, &st->dm_fx, st->Q_exc );
#else
        // enhancer(MODE1, st->core_brate, -1, 0, GENERIC, L_frame, voice_fac, st->stab_fac, norm_gain_code, gain_inov, &st->gc_threshold, code, exc2 + i_subfr, gain_pit, st->dispMem);
        // enhancer_fx(MODE1, st->core_brate, -1, 0, GENERIC, L_frame, voice_fac, st->stab_fac, norm_gain_code, gain_inov, &st->gc_threshold, code, exc2 + i_subfr, gain_pit, st->dispMem);