diff --git a/media_softlet/agnostic/common/codec/hal/dec/hevc/features/decode_hevc_basic_feature.cpp b/media_softlet/agnostic/common/codec/hal/dec/hevc/features/decode_hevc_basic_feature.cpp index 921afb43f2b..952bf3d5d44 100644 --- a/media_softlet/agnostic/common/codec/hal/dec/hevc/features/decode_hevc_basic_feature.cpp +++ b/media_softlet/agnostic/common/codec/hal/dec/hevc/features/decode_hevc_basic_feature.cpp @@ -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; }