From dbf96c56fb4f3728289015be95316e7bb8e416de Mon Sep 17 00:00:00 2001 From: Karsten Suehring <karsten.suehring@hhi.fraunhofer.de> Date: Wed, 11 Sep 2019 10:44:54 +0200 Subject: [PATCH] fix spelling of "length" in several messages --- source/Lib/DecoderLib/VLCReader.cpp | 4 ++-- source/Lib/EncoderLib/VLCWriter.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/Lib/DecoderLib/VLCReader.cpp b/source/Lib/DecoderLib/VLCReader.cpp index 1652fdd2d8..b4995cd06f 100644 --- a/source/Lib/DecoderLib/VLCReader.cpp +++ b/source/Lib/DecoderLib/VLCReader.cpp @@ -113,7 +113,7 @@ void VLCReader::xReadCode (uint32_t uiLength, uint32_t& ruiCode, const char *pSy void VLCReader::xReadCode (uint32_t uiLength, uint32_t& ruiCode) #endif { - CHECK( uiLength == 0, "Reading a code of lenght '0'" ); + CHECK( uiLength == 0, "Reading a code of length '0'" ); m_pcBitstream->read (uiLength, ruiCode); #if RExt__DECODER_DEBUG_BIT_STATISTICS CodingStatistics::IncrementStatisticEP(pSymbolName, uiLength, ruiCode); @@ -520,7 +520,7 @@ void HLSyntaxReader::parsePPS( PPS* pcPPS, ParameterSetManager *parameterSetMana pcPPS->setChromaQpOffsetListEntry(cuChromaQpOffsetIdx+1, cbOffset, crOffset); #endif } - CHECK(pcPPS->getChromaQpOffsetListLen() != tableSizeMinus1 + 1, "Invalid chroma QP offset list lenght"); + CHECK(pcPPS->getChromaQpOffsetListLen() != tableSizeMinus1 + 1, "Invalid chroma QP offset list length"); } READ_FLAG( uiCode, "weighted_pred_flag" ); // Use of Weighting Prediction (P_SLICE) diff --git a/source/Lib/EncoderLib/VLCWriter.cpp b/source/Lib/EncoderLib/VLCWriter.cpp index e1af6caf87..ba2f5580ca 100644 --- a/source/Lib/EncoderLib/VLCWriter.cpp +++ b/source/Lib/EncoderLib/VLCWriter.cpp @@ -101,7 +101,7 @@ bool g_HLSTraceEnable = true; void VLCWriter::xWriteCode ( uint32_t uiCode, uint32_t uiLength ) { - CHECK( uiLength == 0, "Code of lenght '0' not supported" ); + CHECK( uiLength == 0, "Code of length '0' not supported" ); m_pcBitIf->write( uiCode, uiLength ); } @@ -2014,7 +2014,7 @@ void HLSWriter::codeTilesWPPEntryPoint( Slice* pSlice ) while (maxOffset >= (1u << (offsetLenMinus1 + 1))) { offsetLenMinus1++; - CHECK(offsetLenMinus1 + 1 >= 32, "Invalid offset lenght minus 1"); + CHECK(offsetLenMinus1 + 1 >= 32, "Invalid offset length minus 1"); } WRITE_UVLC(pSlice->getNumberOfSubstreamSizes(), "num_entry_point_offsets"); -- GitLab