Commit a09f578b authored by TYAGIRIS's avatar TYAGIRIS
Browse files

limit band upmixing to cases when band bw is not equal to 1

parent 14b35e4f
Loading
Loading
Loading
Loading
Loading
+12 −8
Original line number Diff line number Diff line
@@ -1829,6 +1829,8 @@ static void ivas_spar_dec_parse_md_bs(
#ifdef NONBE_FIX_862_UBSAN_SPAR_DEC_BR_SW_PLC
    ndec = hMdDec->spar_md_cfg.num_decorr_per_band[0];
    ndm = hMdDec->spar_md_cfg.num_dmx_chans_per_band[0];
    if ( *bands_bw != 1 )
    {
        ivas_spar_md_band_upmix(
            hMdDec->spar_md.band_coeffs,
            nB,
@@ -1837,6 +1839,8 @@ static void ivas_spar_dec_parse_md_bs(
            1,
            ndec,
            ndm );
    }

#endif

    return;