Commit c84ba57e authored by TYAGIRIS's avatar TYAGIRIS
Browse files

fix in computing residual bits in spar decoder

parent 60845105
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -373,7 +373,7 @@ ivas_error ivas_spar_dec(
    if ( !st0->bfi && hDecoderConfig->ivas_total_brate == IVAS_SID_5k2 )
    {
#ifdef NONBE_FIX_1052_SBA_EXT
        last_bit_pos -= SID_FORMAT_NBITS - SBA_PLANAR_BITS - SBA_ORDER_BITS;
        last_bit_pos -= ( SID_FORMAT_NBITS + SBA_PLANAR_BITS + SBA_ORDER_BITS );
#else
        last_bit_pos -= SID_FORMAT_NBITS;
#endif