Skip to content

Commit

Permalink
[Encode] fix 1 coverity issue
Browse files Browse the repository at this point in the history
fix 1 coverity issue, remove dead code
  • Loading branch information
DaShi-Git authored and intel-mediadev committed Jul 29, 2024
1 parent 32f1e92 commit 367d729
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6188,12 +6188,6 @@ MOS_STATUS CodechalEncHevcStateG9::SetupBrcConstantTable(PMOS_SURFACE brcConstan
CODECHAL_ENC_HEVC_B_MB_ENC_CURBE_G9 cmd, *curbe = &cmd;
CODECHAL_ENCODE_CHK_STATUS_RETURN(MOS_SecureMemcpy(curbe, sizeof(cmd), defaultCurbe, curbeSize));

if(curbe == nullptr)
{
eStatus = MOS_STATUS_NULL_POINTER;
return eStatus;
}

if(curbe->DW3.BlockBasedSkipEnable)
{
MOS_SecureMemcpy(data, size, m_skipThread[1], sizeof(m_skipThread[1]));
Expand Down

0 comments on commit 367d729

Please sign in to comment.