Commit b90ef3a4 authored by Fabian Bauer's avatar Fabian Bauer
Browse files

add asserts

parent 4135da69
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1135,7 +1135,6 @@ void open_decoder_LPD_ivas_fx(

    st->sr_core = getCoreSamplerateMode2( st->element_mode, total_brate, bwidth, st->flag_ACELP16k, st->rf_flag, st->is_ism_format );
    move32();

    st->fscale = sr2fscale_fx( st->sr_core );
    move16();
    fscaleFB = sr2fscale_fx( st->output_Fs );
@@ -2347,6 +2346,10 @@ void open_decoder_LPD_ivas_fx(
        ELSE
        {
#endif
            /*TODO ber:del assert*/
            assert( NE_16( st->element_mode, EVS_MONO ) );
            assert( GT_16( st->element_mode, EVS_MONO ) );

            TonalMDCTConceal_Init_ivas_fx( st->hTonalMDCTConc, st->hTcxDec->L_frameTCX, st->L_frame, FDNS_NPTS, st->hTcxCfg );
#ifdef HARMONIZE_2583_open_decoder_LPD
        }
+1 −0
Original line number Diff line number Diff line
@@ -222,6 +222,7 @@ ivas_error TonalMDCTConceal_Init_ivas_fx(
    {
#endif /*#ifndef HARMONIZE_2583_open_decoder_LPD_TonalConcealseparateinit*/


        /*Common Part 1*/
        test();
        IF( GT_16( nSamples, L_FRAME_MAX ) || GT_16( nScaleFactors, FDNS_NPTS ) )