Skip to content

Commit

Permalink
[VP] Fix Coverity issue about 444 read kernel integrate code
Browse files Browse the repository at this point in the history
Fix Coverity issue about 444 read kernel integrate code.
  • Loading branch information
VickyZengg authored and intel-mediadev committed Sep 18, 2024
1 parent 4358b71 commit 5ee6c41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ MOS_STATUS VpL0FcFilter::SetupSingleFc444PL3InputKrnArg(uint32_t localSize[3], K
static_cast<uint32_t *>(krnArg.pData)[3] = inputChannelIndices[3];
break;
case FC_444PL3_INPUT_IMAGEREAD_OUTPUTINDEX:
// use input instead
VP_PUBLIC_CHK_NULL_RETURN(krnArg.pData);
static_cast<uint32_t *>(krnArg.pData)[0] = outputChannelIndices[0];
static_cast<uint32_t *>(krnArg.pData)[1] = outputChannelIndices[1];
static_cast<uint32_t *>(krnArg.pData)[2] = outputChannelIndices[2];
Expand Down

0 comments on commit 5ee6c41

Please sign in to comment.