]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Fall Back in _extDict to New _noDict Rather than Old Merged Impl
authorW. Felix Handte <w@felixhandte.com>
Thu, 9 Sep 2021 20:42:13 +0000 (16:42 -0400)
committerW. Felix Handte <w@felixhandte.com>
Tue, 5 Oct 2021 18:54:37 +0000 (14:54 -0400)
lib/compress/zstd_double_fast.c

index 8a8e8263d506ad3c4693a16b3b98e4ee8ce82567..380214c57804a58ef3a48e8ab52f9011ed035154 100644 (file)
@@ -591,7 +591,7 @@ static size_t ZSTD_compressBlock_doubleFast_extDict_generic(
 
     /* if extDict is invalidated due to maxDistance, switch to "regular" variant */
     if (prefixStartIndex == dictStartIndex)
-        return ZSTD_compressBlock_doubleFast_generic(ms, seqStore, rep, src, srcSize, mls, ZSTD_noDict);
+        return ZSTD_compressBlock_doubleFast_noDict_generic(ms, seqStore, rep, src, srcSize, mls);
 
     /* Search Loop */
     while (ip < ilimit) {  /* < instead of <=, because (ip+1) */