]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Rename ZSTD_DECOMPRESS_MINIMAL -> ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT
authorW. Felix Handte <w@felixhandte.com>
Tue, 4 Dec 2018 01:28:02 +0000 (17:28 -0800)
committerW. Felix Handte <w@felixhandte.com>
Tue, 18 Dec 2018 21:36:39 +0000 (13:36 -0800)
lib/decompress/zstd_decompress_block.c

index 00f04208b421542c25b1c258304ab9b13676b254..a251e4f86359da626c150d92b6500324e0a327c8 100644 (file)
@@ -1202,7 +1202,7 @@ ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
 
     /* Build Decoding Tables */
     {
-#ifndef ZSTD_DECOMPRESS_MINIMAL
+#ifndef ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT
         int usePrefetchDecoder = dctx->ddictIsCold;
 #endif
         int nbSeq;
@@ -1211,7 +1211,7 @@ ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
         ip += seqHSize;
         srcSize -= seqHSize;
 
-#ifndef ZSTD_DECOMPRESS_MINIMAL
+#ifndef ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT
         if ( !usePrefetchDecoder
           && (!frame || (dctx->fParams.windowSize > (1<<24)))
           && (nbSeq>ADVANCED_SEQS) ) {  /* could probably use a larger nbSeq limit */
@@ -1223,7 +1223,7 @@ ZSTD_decompressBlock_internal(ZSTD_DCtx* dctx,
 
         dctx->ddictIsCold = 0;
 
-#ifndef ZSTD_DECOMPRESS_MINIMAL
+#ifndef ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT
         if (usePrefetchDecoder)
             return ZSTD_decompressSequencesLong(dctx, dst, dstCapacity, ip, srcSize, nbSeq, isLongOffset);
 #endif