Rename HUF_DECOMPRESS_MINIMAL -> HUF_FORCE_DECOMPRESS_X1

This commit is contained in:
W. Felix Handte
2018-12-18 13:36:39 -08:00
parent 4bbb8a48ad
commit 432314b58a
3 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -954,7 +954,7 @@ ZSTD_loadDEntropy(ZSTD_entropyDTables_t* entropy,
ZSTD_STATIC_ASSERT(sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy->MLTable) >= HUF_DECOMPRESS_WORKSPACE_SIZE);
{ void* const workspace = &entropy->LLTable; /* use fse tables as temporary workspace; implies fse tables are grouped together */
size_t const workspaceSize = sizeof(entropy->LLTable) + sizeof(entropy->OFTable) + sizeof(entropy->MLTable);
#ifdef HUF_DECOMPRESS_MINIMAL
#ifdef HUF_FORCE_DECOMPRESS_X1
/* in minimal huffman, we always use X1 variants */
size_t const hSize = HUF_readDTableX1_wksp(entropy->hufTable,
dictPtr, dictEnd - dictPtr,