From d1b9583dba43de6ca6b0a6b2930a19ce4f86f632 Mon Sep 17 00:00:00 2001 From: Remy Foray <remy.foray@allegrodvt.com> Date: Thu, 30 Jan 2020 11:11:06 +0100 Subject: [PATCH] Fix pps_cr_beta_offset_div2 compliance check after !1281 --- source/Lib/DecoderLib/VLCReader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Lib/DecoderLib/VLCReader.cpp b/source/Lib/DecoderLib/VLCReader.cpp index b010fb9a1..7d65fe720 100644 --- a/source/Lib/DecoderLib/VLCReader.cpp +++ b/source/Lib/DecoderLib/VLCReader.cpp @@ -704,8 +704,8 @@ void HLSyntaxReader::parsePPS( PPS* pcPPS, ParameterSetManager *parameterSetMana pcPPS->getDeblockingFilterCbTcOffsetDiv2() > 12, "Invalid deblocking filter configuration" ); READ_SVLC( iCode, "pps_cr_beta_offset_div2"); pcPPS->setDeblockingFilterCrBetaOffsetDiv2( iCode ); - CHECK( pcPPS->getDeblockingFilterCrTcOffsetDiv2() < -12 || - pcPPS->getDeblockingFilterCrTcOffsetDiv2() > 12, "Invalid deblocking filter configuration" ); + CHECK( pcPPS->getDeblockingFilterCrBetaOffsetDiv2() < -12 || + pcPPS->getDeblockingFilterCrBetaOffsetDiv2() > 12, "Invalid deblocking filter configuration" ); READ_SVLC( iCode, "pps_cr_tc_offset_div2"); pcPPS->setDeblockingFilterCrTcOffsetDiv2( iCode ); CHECK( pcPPS->getDeblockingFilterCrTcOffsetDiv2() < -12 || -- GitLab