Commit 182fb6d2 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

rewrite condition for apply_dmx_weights_fx

parent 639195c9
Loading
Loading
Loading
Loading
Loading
+5 −8
Original line number Diff line number Diff line
@@ -349,16 +349,13 @@ void stereo_mdct_core_dec(

    run_min_stats( sts, x );

    if ( hCPE->nchan_out == 1 && ( !bfi || ( bfi && sts[0]->core != ACELP_CORE && sts[1]->core != ACELP_CORE ) ) )
    {
#ifdef FIX_FLOAT_1518
        if ( !( st_ivas->ivas_format == SBA_ISM_FORMAT && st_ivas->ism_mode == ISM_MODE_NONE ) )
        {
    if ( hCPE->nchan_out == 1 && ( !bfi || ( bfi && sts[0]->core != ACELP_CORE && sts[1]->core != ACELP_CORE ) ) && !( st_ivas->ivas_format == SBA_ISM_FORMAT && st_ivas->ism_mode == ISM_MODE_NONE ) )
#else
    if ( hCPE->nchan_out == 1 && ( !bfi || ( bfi && sts[0]->core != ACELP_CORE && sts[1]->core != ACELP_CORE ) ) )
#endif
    {
        apply_dmx_weights( hCPE, x, sts[0]->transform_type, sts[1]->transform_type );
#ifdef FIX_FLOAT_1518
        }
#endif
    }

    ivas_mdct_core_reconstruct( hCPE, x, signal_outFB_tmp, fUseTns, 0 );