Skip to content

Commit

Permalink
[VP] fix coverity issue 25209
Browse files Browse the repository at this point in the history
fix coverity issue
  • Loading branch information
Dylan-debug authored and intel-mediadev committed Oct 14, 2024
1 parent cbcc680 commit 345f145
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,8 @@ MOS_STATUS VpResourceManager::AssignFcResources(VP_EXECUTE_CAPS &caps, std::vect
// Allocate L0 fc intermedia outputSurface
{
MOS_FORMAT fcIntermediaSurfaceOutputFormat = Format_Any;
VP_PUBLIC_CHK_NULL_RETURN(outputSurface);
VP_PUBLIC_CHK_NULL_RETURN(outputSurface->osSurface);
switch (outputSurface->osSurface->Format)
{
case Format_RGBP:
Expand Down

0 comments on commit 345f145

Please sign in to comment.