]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Sequence extractor should update CBlockState
authorsenhuang42 <senhuang96@fb.com>
Fri, 30 Oct 2020 16:13:19 +0000 (12:13 -0400)
committersenhuang42 <senhuang96@fb.com>
Fri, 30 Oct 2020 16:13:19 +0000 (12:13 -0400)
lib/compress/zstd_compress.c

index d5185dbde54cbe5c467d29be2b1641bf79de806c..c964132450a6ea555e354b0ec4289b8485e4425a 100644 (file)
@@ -2574,6 +2574,7 @@ static size_t ZSTD_compressBlock_internal(ZSTD_CCtx* zc,
 
     if (zc->seqCollector.collectSequences) {
         ZSTD_copyBlockSequences(zc);
+        ZSTD_confirmRepcodesAndEntropyTables(zc);
         return 0;
     }