From 5265ba0a3f64c36ffcc80ed342229d7b307b46d1 Mon Sep 17 00:00:00 2001 From: Saurabh Puri <saurabh.puri@interdigital.com> Date: Fri, 5 Nov 2021 04:06:17 +0000 Subject: [PATCH] Fix for ticket#1518: wrong RPR flag condition check in xInitSPS() Minor bug in xInitSPS that wrongly checks virtualBoundariesEnabledFlag() instead of virtualBoundariesPresentFlag() --- source/Lib/EncoderLib/EncLib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Lib/EncoderLib/EncLib.cpp b/source/Lib/EncoderLib/EncLib.cpp index 5f7f1d0a48..2a5ab71ea0 100644 --- a/source/Lib/EncoderLib/EncLib.cpp +++ b/source/Lib/EncoderLib/EncLib.cpp @@ -1440,7 +1440,7 @@ void EncLib::xInitSPS( SPS& sps ) sps.setLog2ParallelMergeLevelMinus2( m_log2ParallelMergeLevelMinus2 ); - CHECK(sps.getResChangeInClvsEnabledFlag() && sps.getVirtualBoundariesEnabledFlag(), "when the value of sps_res_change_in_clvs_allowed_flag is equal to 1, the value of sps_virtual_boundaries_present_flag shall be equal to 0"); + CHECK(sps.getResChangeInClvsEnabledFlag() && sps.getVirtualBoundariesPresentFlag(), "when the value of sps_res_change_in_clvs_allowed_flag is equal to 1, the value of sps_virtual_boundaries_present_flag shall be equal to 0"); } void EncLib::xInitHrdParameters(SPS &sps) -- GitLab