]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Use ZSTD_dm_rawContent in zstdmt_compress
authorStella Lau <laus@fb.com>
Wed, 30 Aug 2017 01:04:32 +0000 (18:04 -0700)
committerStella Lau <laus@fb.com>
Wed, 30 Aug 2017 01:04:32 +0000 (18:04 -0700)
lib/compress/zstdmt_compress.c

index bf418df5472e3f8faaa5a2620a325a484200c677..86afe50653850c0b08f0dfec11baf5352e005446 100644 (file)
@@ -768,7 +768,7 @@ size_t ZSTDMT_initCStream_internal(
         DEBUGLOG(4,"cdictLocal: %08X", (U32)(size_t)zcs->cdictLocal);
         ZSTD_freeCDict(zcs->cdictLocal);
         zcs->cdictLocal = ZSTD_createCDict_advanced(dict, dictSize,
-                                                    ZSTD_dlm_byCopy, ZSTD_dm_auto, /* note : a loadPrefix becomes an internal CDict */
+                                                    ZSTD_dlm_byCopy, ZSTD_dm_rawContent, /* note : a loadPrefix becomes an internal CDict */
                                                     params.cParams, zcs->cMem);
         zcs->cdict = zcs->cdictLocal;
         if (zcs->cdictLocal == NULL) return ERROR(memory_allocation);