Skip to content

Commit

Permalink
[Decode] fix cov issue
Browse files Browse the repository at this point in the history
check return value
  • Loading branch information
chuanli1 authored and intel-mediadev committed Dec 1, 2023
1 parent 72e0613 commit 11a52e6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,8 @@ MOS_STATUS HevcBasicFeature::CreateReferenceBeforeLoopFilter()
}
else
{
m_allocator->Resize(m_referenceBeforeLoopFilter, m_destSurface.dwWidth, m_destSurface.dwHeight,
notLockableVideoMem, false, "Reference before loop filter");
DECODE_CHK_STATUS(m_allocator->Resize(m_referenceBeforeLoopFilter, m_destSurface.dwWidth, m_destSurface.dwHeight,
notLockableVideoMem, false, "Reference before loop filter"));
}
return MOS_STATUS_SUCCESS;
}
Expand Down

0 comments on commit 11a52e6

Please sign in to comment.