Commit 7e98df3d authored by vaclav's avatar vaclav
Browse files

re revert check against NULL

parent 3e953f54
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4108,7 +4108,7 @@ ivas_error IVAS_DEC_is_split_rendering_enabled(
{
    Decoder_Struct *st_ivas;

    if ( hIvasDec == NULL || hIvasDec->st_ivas == NULL || hIvasDec->st_ivas->hRenderConfig == NULL )
    if ( hIvasDec == NULL || hIvasDec->st_ivas == NULL )
    {
        return IVAS_ERR_UNEXPECTED_NULL_POINTER;
    }
@@ -4313,7 +4313,7 @@ ivas_error IVAS_DEC_is_split_rendering_coded_out(
{
    Decoder_Struct *st_ivas;

    if ( hIvasDec == NULL || hIvasDec->st_ivas == NULL || hIvasDec->st_ivas->hRenderConfig == NULL )
    if ( hIvasDec == NULL || hIvasDec->st_ivas == NULL )
    {
        return IVAS_ERR_UNEXPECTED_NULL_POINTER;
    }