Skip to content

Commit

Permalink
[Encode] Fix driver coverity issue
Browse files Browse the repository at this point in the history
Fix driver coverity issues: 1 Dereference null return value;1 Negative array index write; 1 Out of bounds write; 1 Operands dont affect result; 5 Sizeof not portable; 2 Unchecked return value; 1 Unused value
  • Loading branch information
Bossonor authored and intel-mediadev committed Dec 11, 2023
1 parent b4440bd commit 32841e3
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,6 @@ MOS_STATUS Vp9EncodeTile::SetTileData(void *params)
// DW12
m_tileData[idx].vp9ProbabilityCounterStreamoutOffset = ((idx * m_probabilityCounterBufferSize) + (CODECHAL_CACHELINE_SIZE - 1)) / CODECHAL_CACHELINE_SIZE;
}
// Same row store buffer for different tile rows
saoRowstoreOffset = 0;
sseRowstoreOffset = 0;
}

return eStatus;
Expand Down

0 comments on commit 32841e3

Please sign in to comment.