Commit 14458063 authored by TYAGIRIS's avatar TYAGIRIS
Browse files

fix for nB value

parent 9a0f13c0
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -800,8 +800,8 @@ void ivas_spar_md_dec_process(
    }

    /* set correct number of bands*/
#ifndef NONBE_FIX_862_UBSAN_SPAR_DEC_BR_SW_PLC
    nB = IVAS_MAX_NUM_BANDS;
#ifndef NONBE_FIX_862_UBSAN_SPAR_DEC_BR_SW_PLC
    if ( bw == IVAS_RED_BAND_FACT )
    {
        nB = nB >> 1;