diff --git a/source/Lib/CommonLib/UnitTools.cpp b/source/Lib/CommonLib/UnitTools.cpp
index f4240e72..8a73af48 100755
a
|
b
|
void PU::getIBCMergeCandidates(const PredictionUnit &pu, MergeCtx& mrgCtx, const |
1132 | 1132 | const bool isAvailableA1 = puLeft && isDiffMER(pu, *puLeft) && pu.cu != puLeft->cu && CU::isIBC(*puLeft->cu); |
1133 | 1133 | if (isAvailableA1) |
1134 | 1134 | { |
| 1135 | const PredictionUnit* puSmr = cs.getPURestricted(pu.shareParentPos, pu, pu.chType); |
| 1136 | if(puSmr && puSmr->cu->predMode != pu.cu->predMode) |
| 1137 | { |
| 1138 | fprintf(stderr, "Shared position PredMode %d is different from current PredMode %d\n", puSmr->cu->predMode, pu.cu->predMode); |
| 1139 | fprintf(stderr, "Shared position PredMode %d is different from neighbor PredMode %d\n", puSmr->cu->predMode, puLeft->cu->predMode); |
| 1140 | fprintf(stderr, "isAvailableA1 should be 0 accordingly to specification\n"); |
| 1141 | assert(0); |
| 1142 | } |
| 1143 | |
1135 | 1144 | miLeft = puLeft->getMotionInfo(posLB.offset(-1, 0)); |
1136 | 1145 | |
1137 | 1146 | // get Inter Dir |