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

add missing condition

parent f2a90e49
Loading
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -183,8 +183,13 @@ void bw_switching_pre_proc_fx(
    {
        st_fx->prev_ener_shb_fx = 0;
        move16();
#ifdef FIX_2547_ALIGN_CONDITIONS_IN_CORE_SW_DEC
        IF ( st_fx->hBWE_FD != NULL )
#endif
        {
            set16_fx( st_fx->hBWE_FD->prev_SWB_fenv_fx, 0, SWB_FENV );
        }
    }
    ELSE IF( ( ( st_fx->core == ACELP_CORE && ( EQ_16( st_fx->last_core, HQ_CORE ) || EQ_16( st_fx->last_core, TCX_10_CORE ) || EQ_16( st_fx->last_core, TCX_20_CORE ) ) ) || ( EQ_16( st_fx->core, st_fx->last_core ) && NE_16( st_fx->extl, st_fx->last_extl ) ) ) && GE_16( st_fx->last_bwidth, SWB ) )
    {
        st_fx->attenu_fx = 3277; /* Q15 */