1
0
mirror of https://github.com/facebook/zstd.git synced 2025-11-28 23:23:59 +03:00

Change 1.3.4 bugfix to be cross-compatible with superblocks and normal compression

This commit is contained in:
senhuang42
2021-01-11 08:30:16 -05:00
committed by Sen Huang
parent eb1ee8686d
commit 0633bf17c3
3 changed files with 25 additions and 28 deletions

View File

@@ -107,7 +107,7 @@ typedef struct {
symbolEncodingType_e mlType;
BYTE fseTablesBuffer[ZSTD_MAX_FSE_HEADERS_SIZE];
size_t fseTablesSize;
BYTE* lastNCount; /* This is to account for bug in 1.3.4. More detail in ZSTD_compressSubBlock_sequences() */
size_t lastCountSize; /* This is to account for bug in 1.3.4. More detail in ZSTD_entropyCompressSequences_internal() */
} ZSTD_fseCTablesMetadata_t;
typedef struct {