Commit e2fdd182 authored by vaclav's avatar vaclav
Browse files

revert sanity check under ENABLE_BITRATE_VERIFICATION

parent b51521ba
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -951,11 +951,7 @@ ivas_error write_indices_ivas(
        ivas_total_brate = st_ivas->hSCE[0]->hCoreCoder[0]->total_brate;
    }

#ifdef PARAM_ISM_DTX_CNG
    if ( i * FRAMES_PER_SEC != ivas_total_brate && i * FRAMES_PER_SEC != IVAS_SID_5k2 && i != 0 )
#else
    if ( i * FRAMES_PER_SEC != ivas_total_brate && i >= ACELP_11k60 / FRAMES_PER_SEC )
#endif
    {
        return IVAS_ERROR( IVAS_ERR_INTERNAL_FATAL, "Bitstream write size mismatch! Actual bitrate: %ld vs. Reference bitrate: %d\n", i * 50L, ivas_total_brate );
    }