Commit 51c905bd authored by vaclav's avatar vaclav
Browse files

remove redundant code

parent 12126c6c
Loading
Loading
Loading
Loading
+0 −70
Original line number Diff line number Diff line
@@ -508,79 +508,9 @@ ivas_error ivas_init_decoder_front(
)
{
    ivas_error error;
#ifdef FIX_I98_HANDLES_TO_NULL
    int16_t i;
#endif

    error = IVAS_ERR_OK;

#ifdef FIX_I98_HANDLES_TO_NULL
    /*-----------------------------------------------------------------*
     * Dummy pointers to decoder handles
     *-----------------------------------------------------------------*/

    /* SCE handles */
    for ( i = 0; i < MAX_SCE; i++ )
    {
        st_ivas->hSCE[i] = NULL;
    }

    /* CPE handles */
    for ( i = 0; i < MAX_CPE; i++ )
    {
        st_ivas->hCPE[i] = NULL;
    }

    st_ivas->mem_hp20_out = NULL;
    st_ivas->hLimiter = NULL;

    /* CLDFB handles */
    for ( i = 0; i < MAX_INTERN_CHANNELS; i++ )
    {
        st_ivas->cldfbAnaDec[i] = NULL;
    }

    for ( i = 0; i < MAX_OUTPUT_CHANNELS; i++ )
    {
        st_ivas->cldfbSynDec[i] = NULL;
    }

    /* ISM metadata handles */
    for ( i = 0; i < MAX_NUM_OBJECTS; i++ )
    {
        st_ivas->hIsmMetaData[i] = NULL;
    }

    /* spatial coding handles */
    st_ivas->hDirAC = NULL;
    st_ivas->hSpar = NULL;
    st_ivas->hMasa = NULL;
    st_ivas->hQMetaData = NULL;
    st_ivas->hMCT = NULL;
    st_ivas->hParamMC = NULL;
    st_ivas->hLFE = NULL;

    /* rendering handles */
    st_ivas->hBinRenderer = NULL;
    st_ivas->hDiracDecBin = NULL;
    st_ivas->hLsSetUpConversion = NULL;
    st_ivas->hEFAPdata = NULL;
    st_ivas->hVBAPdata = NULL;
    st_ivas->hIsmRendererData = NULL;
    st_ivas->hBinRendererTd = NULL;
    st_ivas->hMonoDmxRenderer = NULL;
    st_ivas->hIsmRendererData = NULL;
    st_ivas->hCrend = NULL;
    st_ivas->hHrtf = NULL;
    st_ivas->hoa_dec_mtx = NULL;

    /* external data handles */
    st_ivas->hHeadTrackData = NULL;
    st_ivas->hHrtfTD = NULL;
    st_ivas->hLsSetupCustom = NULL;
    st_ivas->hRenderConfig = NULL;
#endif

    /*-----------------------------------------------------------------*
     * Resets
     *-----------------------------------------------------------------*/