diff --git a/source/Lib/DecoderLib/VLCReader.cpp b/source/Lib/DecoderLib/VLCReader.cpp index b9ac08087227d2af516205bd37652c07ace239b4..cf90f88e2a08f9c3ee607811dd8095be23dc0648 100644 --- a/source/Lib/DecoderLib/VLCReader.cpp +++ b/source/Lib/DecoderLib/VLCReader.cpp @@ -1909,7 +1909,7 @@ void HLSyntaxReader::parseSliceHeader (Slice* pcSlice, ParameterSetManager *para { READ_UVLC(uiCode, "recovery_poc_cnt"); int maxPicOrderCntLsb = (int)pow(2, pcSlice->getSPS()->getBitsForPOC()); - CHECK(uiCode < maxPicOrderCntLsb, "recovery_poc_cnt > MaxPicOrderCntLsb ? 1"); + CHECK(uiCode < maxPicOrderCntLsb, "The value of recovery_poc_cnt exceeds (POC LSB cycle - 1)"); pcSlice->setRecoveryPocCnt(uiCode); pcSlice->setRpPicOrderCntVal(pcSlice->getPOC() + pcSlice->getRecoveryPocCnt()); } diff --git a/source/Lib/EncoderLib/VLCWriter.cpp b/source/Lib/EncoderLib/VLCWriter.cpp index 5c4d560dd1462d2632ee3e78bbd7d5a4d085ddd4..08c98aca64e8dffa03c819c9bf128feee39a05a7 100644 --- a/source/Lib/EncoderLib/VLCWriter.cpp +++ b/source/Lib/EncoderLib/VLCWriter.cpp @@ -1333,7 +1333,7 @@ void HLSWriter::codeSliceHeader ( Slice* pcSlice ) if (pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_GRA) { int maxPicOrderCntLsb = (int) pow(2, pcSlice->getSPS()->getBitsForPOC()); - CHECK((pcSlice->getRecoveryPocCnt() < maxPicOrderCntLsb), "recovery_poc_cnt > MaxPicOrderCntLsb ? 1"); + CHECK((pcSlice->getRecoveryPocCnt() < maxPicOrderCntLsb), "The value of recovery_poc_cnt exceeds (POC LSB cycle - 1)"); WRITE_UVLC(pcSlice->getRecoveryPocCnt(), "recovery_poc_cnt"); } if (pcSlice->getRapPicFlag() || (pcSlice->getNalUnitType() == NAL_UNIT_CODED_SLICE_GRA))