]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
minor formatting changes
authorYann Collet <yann.collet.73@gmail.com>
Fri, 15 Jul 2016 15:58:13 +0000 (17:58 +0200)
committerYann Collet <yann.collet.73@gmail.com>
Fri, 15 Jul 2016 15:58:13 +0000 (17:58 +0200)
lib/compress/zstd_compress.c
zstd_compression_format.md

index 60af2e71ca209dde838a958e69ccfdb20df2682e..26b6d6e33893286a3ec7a2ae3306ba4f5dfb008b 100644 (file)
@@ -653,8 +653,8 @@ static size_t ZSTD_compressLiterals (ZSTD_CCtx* zc,
         singleStream = 1;
         cLitSize = HUF_compress1X_usingCTable(ostart+lhSize, dstCapacity-lhSize, src, srcSize, zc->hufTable);
     } else {
-        cLitSize = singleStream ? HUF_compress1X(ostart+lhSize, dstCapacity-lhSize, src, srcSize, 255, 12)
-                                : HUF_compress2 (ostart+lhSize, dstCapacity-lhSize, src, srcSize, 255, 12);
+        cLitSize = singleStream ? HUF_compress1X(ostart+lhSize, dstCapacity-lhSize, src, srcSize, 255, 11)
+                                : HUF_compress2 (ostart+lhSize, dstCapacity-lhSize, src, srcSize, 255, 11);
     }
 
     if ((cLitSize==0) | (cLitSize >= srcSize - minGain))
index 95742386feab86b6f20f10b0cfbb8c95c5aa6e76..13c4ace18d5cd3c73552d5dc605fa15c5cf47479 100644 (file)
@@ -1149,8 +1149,9 @@ __Dict_ID__ : 4 bytes, stored in Little Endian format.
               any dictionary ID can be used.
               However, for public distribution of compressed frames,
               some ranges are reserved for future use :
-              - low : 1 - 32767 : reserved
-              - high : >= (2^31) : reserved
+
+              - low range : 1 - 32767 : reserved
+              - high range : >= (2^31) : reserved
 
 __Stats__ : Entropy tables, following the same format as a [compressed blocks].
             They are stored in following order :
@@ -1167,5 +1168,5 @@ __Content__ : Where the actual dictionary content is.
 
 Version changes
 ---------------
-0.1.1 reserved dictID ranges
-0.1.0 initial release
+0.1.1 reserved dictID ranges
+0.1.0 initial release