From: Yann Collet Date: Fri, 15 Jul 2016 15:58:13 +0000 (+0200) Subject: minor formatting changes X-Git-Tag: v0.7.4^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cacd34d4455e5c8bdd7ab411e13537274564c3e;p=thirdparty%2Fzstd.git minor formatting changes --- diff --git a/lib/compress/zstd_compress.c b/lib/compress/zstd_compress.c index 60af2e71c..26b6d6e33 100644 --- a/lib/compress/zstd_compress.c +++ b/lib/compress/zstd_compress.c @@ -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)) diff --git a/zstd_compression_format.md b/zstd_compression_format.md index 95742386f..13c4ace18 100644 --- a/zstd_compression_format.md +++ b/zstd_compression_format.md @@ -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