Skip to content

Commit

Permalink
[Decode] MMC Surface Reference List refinement
Browse files Browse the repository at this point in the history
This patch to implement MMC Func CheckReferenceList to override basic class implement to prevent potential risk, and adding Zero Memory setting when initializing AV1 reference frame list to increase robustness.
  • Loading branch information
SteveZIntel authored and intel-mediadev committed Nov 15, 2024
1 parent 6c94349 commit e8e3efb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ namespace decode{
m_allocator = m_pipeline ->GetDecodeAllocator();
DECODE_CHK_NULL(m_allocator);

MOS_ZeroMemory(m_refSurface, sizeof(m_refSurface));

return MOS_STATUS_SUCCESS;
}

Expand Down

0 comments on commit e8e3efb

Please sign in to comment.