From dcb1d18e04ad3cbc583deb19e8ac7ff0291ee281 Mon Sep 17 00:00:00 2001 From: Cai_Jianxing Date: Tue, 21 Nov 2023 19:03:24 +0800 Subject: [PATCH] [VP] fix coverity12 fix coverity12. --- media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp b/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp index 6f23987dc6e..742ebf69886 100644 --- a/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp +++ b/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp @@ -1964,6 +1964,7 @@ MOS_STATUS VPHAL_VEBOX_STATE::VeboxRenderVeboxCmd( MOS_CONTEXT *pOsContext = nullptr; PMHW_MI_MMIOREGISTERS pMmioRegisters = nullptr; + VPHAL_RENDER_CHK_NULL(pRenderData); VPHAL_RENDER_CHK_NULL(pVeboxState); VPHAL_RENDER_CHK_NULL(pVeboxState->m_pRenderHal); VPHAL_RENDER_CHK_NULL(pVeboxState->m_pRenderHal->pMhwMiInterface);