Improve documentation of seqStore_t

This commit is contained in:
senhuang42
2020-10-27 10:50:22 -04:00
parent 96b0ff7886
commit 9171f920cd
3 changed files with 23 additions and 22 deletions
-4
View File
@@ -2455,10 +2455,6 @@ static void ZSTD_copyBlockSequences(ZSTD_CCtx* zc)
outSeqs[i].litLength = seqStoreSeqs[i].litLength;
outSeqs[i].matchLength = seqStoreSeqs[i].matchLength + MINMATCH;
/* matchLength and litLength are stored with U16. longLengthPos
* and longLengthID to allow us to represent a single litLength or matchLength
* in the seqStore that has a value larger than U16 (if it exists).
*/
if (i == seqStore->longLengthPos) {
if (seqStore->longLengthID == 1) {
outSeqs[i].litLength += 0x10000;