Commit a8ae56a3 authored by Mohammadreza Naghibzadeh's avatar Mohammadreza Naghibzadeh
Browse files

Fix if-condition in scaling st->old_exc_fx in ACLEP mode.

parent 7daf30ae
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -298,7 +298,7 @@ ivas_error acelp_core_dec_fx(
    tmp_noise_fx = 0;
    move16();
#ifdef FIX_1793_DEC_MC_TO_MONO_SCALING_ISSUE
    if ( NE_32( st->last_core, TCX_10_CORE ) || NE_32( st->last_core, TCX_20_CORE ) ) // st->Q_syn_factor is set in TCX mode; otherwise, it may be uninitialized
    if ( NE_32( st->last_core, TCX_10_CORE ) && NE_32( st->last_core, TCX_20_CORE ) ) // st->Q_syn_factor is set in TCX mode; otherwise, it may be uninitialized
    {
        Copy( st->old_exc_fx, old_exc_fx, L_EXC_MEM_DEC ); /*Q_exc*/
    }