Commit 7c293a90 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix condition to subtract planar bit from available bits in MCT core enc

parent ec77972c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -498,7 +498,7 @@ void ivas_mct_core_enc(
        nAvailBits -= IVAS_FORMAT_SIGNALING_NBITS_EXTENDED;
        nAvailBits -= SBA_ORDER_BITS + SBA_PLANAR_BITS;
#ifdef NONBE_FIX_ISM_XOVER_BR
        if ( ivas_format == SBA_ISM_FORMAT || ivas_total_brate >= IVAS_OSBA_DISCRETE_ISM_MIN_BR )
        if ( ivas_format == SBA_ISM_FORMAT && ( ivas_total_brate >= IVAS_OSBA_DISCRETE_ISM_MIN_BR || ivas_total_brate < IVAS_24k4 ) )
#else
        if ( ivas_format == SBA_ISM_FORMAT && nChannels > 4 )
#endif