Commit 4a79d5b8 authored by vaclav's avatar vaclav
Browse files

correct preprocessor switch placement

parent c6c47fa6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -206,18 +206,18 @@ ivas_error IVAS_DEC_Open(
    IVAS_DEC_HANDLE hIvasDec;
    Decoder_Struct *st_ivas;

#ifdef FIX_FMSW_DEC
    if ( phIvasDec == NULL )
    {
        return IVAS_ERR_UNEXPECTED_NULL_POINTER;
    }
#endif

#ifdef FIX_FMSW_DEC
    if ( *phIvasDec != NULL )
    {
        return IVAS_ERR_WRONG_PARAMS;
    }

#endif
    /*-----------------------------------------------------------------*
     * Allocate and initialize IVAS application decoder handle
     *-----------------------------------------------------------------*/