diff --git a/source/Lib/CommonLib/UnitTools.cpp b/source/Lib/CommonLib/UnitTools.cpp index 410d1bbc77a159d878592d67c97694cb224b44d7..5fcb56c9a672b9eab6e05d715e74468d97ce8cc3 100644 --- a/source/Lib/CommonLib/UnitTools.cpp +++ b/source/Lib/CommonLib/UnitTools.cpp @@ -3308,8 +3308,7 @@ void PU::getAffineMergeCand( const PredictionUnit &pu, AffineMergeCtx& affMrgCtx affMrgCtx.numValidMergeCand = 0; affMrgCtx.maxNumMergeCand = maxNumAffineMergeCand; - bool sbTmvpEnableFlag = slice.getSPS()->getSbTMVPEnabledFlag() - && !(slice.getPOC() == slice.getRefPic(REF_PIC_LIST_0, 0)->getPOC() && slice.isIRAP()); + bool sbTmvpEnableFlag = slice.getSPS()->getSbTMVPEnabledFlag(); bool isAvailableSubPu = false; if (sbTmvpEnableFlag && slice.getPicHeader()->getEnableTMVPFlag()) {