diff --git a/source/Lib/DecoderLib/DecLib.cpp b/source/Lib/DecoderLib/DecLib.cpp index 34c4f8aca33423580e50d65e1ed254efa8690c6e..1797fb5cfac502bbf64cb5b6ca60bed42eb773e9 100644 --- a/source/Lib/DecoderLib/DecLib.cpp +++ b/source/Lib/DecoderLib/DecLib.cpp @@ -1818,7 +1818,7 @@ void DecLib::xCheckParameterSetConstraints(const int layerId) #if JVET_S0050_GCI if (sps->getProfileTierLevel()->getConstraintInfo()->getOneSubpicPerPicConstraintFlag()) { - CHECK(sps->getNumSubPics() != 0, "When one_subpic_per_pic_constraint_flag is equal to 1, the value of sps_num_subpics_minus1 shall be equal to 0") + CHECK(sps->getNumSubPics() != 1, "When one_subpic_per_pic_constraint_flag is equal to 1, the value of sps_num_subpics_minus1 shall be equal to 0") } #endif