From 16ecb19848e08828ad064ce8824b02a1a0035c41 Mon Sep 17 00:00:00 2001 From: Remy Foray <remy.foray@allegrodvt.com> Date: Thu, 23 Jul 2020 11:25:47 +0200 Subject: [PATCH] Fix one_subpic_per_pic_constraint_flag compliance check after 9d81c757 --- source/Lib/DecoderLib/DecLib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Lib/DecoderLib/DecLib.cpp b/source/Lib/DecoderLib/DecLib.cpp index 34c4f8aca..1797fb5cf 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 -- GitLab