From 64553a0e35dd632765a218b1ae4edecdc3d6039a Mon Sep 17 00:00:00 2001 From: "W. Felix Handte" Date: Mon, 3 Dec 2018 17:28:02 -0800 Subject: [PATCH] Rename ZSTD_DECOMPRESS_MINIMAL -> ZSTD_FORCE_DECOMPRESS_SEQUENCES_SHORT --- lib/decompress/zstd_decompress_block.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/decompress/zstd_decompress_block.c b/lib/decompress/zstd_decompress_block.c index 00f04208b..a251e4f86 100644 --- a/lib/decompress/zstd_decompress_block.c +++ b/lib/decompress/zstd_decompress_block.c @@ -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