Skip to content

Commit 367d729

Browse files
DaShi-Gitintel-mediadev
authored andcommitted
[Encode] fix 1 coverity issue
fix 1 coverity issue, remove dead code
1 parent 32f1e92 commit 367d729

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

media_driver/agnostic/gen9/codec/hal/codechal_encode_hevc_g9.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -6188,12 +6188,6 @@ MOS_STATUS CodechalEncHevcStateG9::SetupBrcConstantTable(PMOS_SURFACE brcConstan
61886188
CODECHAL_ENC_HEVC_B_MB_ENC_CURBE_G9 cmd, *curbe = &cmd;
61896189
CODECHAL_ENCODE_CHK_STATUS_RETURN(MOS_SecureMemcpy(curbe, sizeof(cmd), defaultCurbe, curbeSize));
61906190

6191-
if(curbe == nullptr)
6192-
{
6193-
eStatus = MOS_STATUS_NULL_POINTER;
6194-
return eStatus;
6195-
}
6196-
61976191
if(curbe->DW3.BlockBasedSkipEnable)
61986192
{
61996193
MOS_SecureMemcpy(data, size, m_skipThread[1], sizeof(m_skipThread[1]));

0 commit comments

Comments
 (0)