diff --git a/source/Lib/CommonLib/Slice.cpp b/source/Lib/CommonLib/Slice.cpp index d71124afbb25049ec574000433b4ed712cfe140e..bb66ab889208f2e46bae7aec6f4acb4ca0c716a9 100644 --- a/source/Lib/CommonLib/Slice.cpp +++ b/source/Lib/CommonLib/Slice.cpp @@ -715,7 +715,7 @@ void Slice::checkRPL(const ReferencePictureList* pRPL0, const ReferencePictureLi const int maxTidILRefPicsPlus1 = vps->getMaxTidIlRefPicsPlus1(layerIdx, pcRefPic->layerId); bool cond4 = (pcRefPic->temporalId < maxTidILRefPicsPlus1); - CHECK((cond1 && cond2) || cond3 || cond4, + CHECK(!((cond1 && cond2) || cond3 || cond4), "Either of the following conditions shall apply for the picture referred to by each ILRP entry, when " "present, in RefPicList[ 0 ] or RefPicList[ 1 ] of a slice of the current picture:-The picture is a " "GDR picture with "