Commit abe854e8 authored by vaclav's avatar vaclav
Browse files

revert move of wmops_sub_start() at the beginning of acelp_core_dec() which...

revert move of wmops_sub_start() at the beginning of acelp_core_dec() which would otherwise cause errors in case of running instrumented code in MDCT stereo
parent 987ff43e
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -123,8 +123,6 @@ ivas_error acelp_core_dec(
    int16_t local_element_mode;
    ivas_error error;    

    wmops_sub_start( "acelp_core_dec" );

    error = IVAS_ERR_OK;

    if ( st->element_mode == IVAS_CPE_MDCT && nchan_out == 1 && st->idchan == 1 && last_element_brate <= IVAS_SID_4k4 )
@@ -133,6 +131,8 @@ ivas_error acelp_core_dec(
        return error;
    }    

    wmops_sub_start( "acelp_core_dec" );

    output_frame = (int16_t) ( st->output_Fs / FRAMES_PER_SEC );

    /*----------------------------------------------------------------*