Commit 13446f77 authored by Marek Szczerba's avatar Marek Szczerba
Browse files

Fix for null pointer check

parent a7409758
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -929,7 +929,7 @@ ivas_error IVAS_DEC_FeedRefRotData(
{
    ivas_orient_trk_state_t *pOtr;

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