Commit 00f498d4 authored by norvell's avatar norvell
Browse files

Revert cleanup of ADD_IVAS_HQ_CODE_FEC

parent 9ee05fd4
Loading
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -725,9 +725,10 @@ void HQ_FEC_Mem_update_fx(
    move32();
#endif
    move32(); // tmp_energy_fx

#ifdef ADD_IVAS_HQ_CODE_FEC
    IF( EQ_16( output_frame, L_FRAME8k ) )
    {
#endif

        IF( is_transient )
        {
@@ -758,10 +759,10 @@ void HQ_FEC_Mem_update_fx(
                }
            }
        }

#ifndef ADD_IVAS_HQ_CODE_FEC
        IF( EQ_16( output_frame, L_FRAME8k ) )
        {

#endif
            /* if LR MDCT core is used, recalculate norms from decoded MDCT spectrum (using code from hq_hr_enc_fx()) */
            test();
            IF( ( EQ_16( hqswb_clas, HQ_HVQ ) ) || ( EQ_16( hq_core_type, LOW_RATE_HQ_CORE ) ) )
@@ -975,8 +976,9 @@ void HQ_FEC_Mem_update_fx(
        move16();
        hHQ_core->old_is_transient[0] = is_transient;
        move16();
#ifdef ADD_IVAS_HQ_CODE_FEC
    }

#endif
    return;
}