minor formatting changes

This commit is contained in:
Yann Collet
2016-07-15 17:58:13 +02:00
parent b21e9cbe8a
commit 6cacd34d44
2 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -653,8 +653,8 @@ static size_t ZSTD_compressLiterals (ZSTD_CCtx* zc,
singleStream = 1; singleStream = 1;
cLitSize = HUF_compress1X_usingCTable(ostart+lhSize, dstCapacity-lhSize, src, srcSize, zc->hufTable); cLitSize = HUF_compress1X_usingCTable(ostart+lhSize, dstCapacity-lhSize, src, srcSize, zc->hufTable);
} else { } else {
cLitSize = singleStream ? HUF_compress1X(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, 12); : HUF_compress2 (ostart+lhSize, dstCapacity-lhSize, src, srcSize, 255, 11);
} }
if ((cLitSize==0) | (cLitSize >= srcSize - minGain)) if ((cLitSize==0) | (cLitSize >= srcSize - minGain))
+5 -4
View File
@@ -1149,8 +1149,9 @@ __Dict_ID__ : 4 bytes, stored in Little Endian format.
any dictionary ID can be used. any dictionary ID can be used.
However, for public distribution of compressed frames, However, for public distribution of compressed frames,
some ranges are reserved for future use : 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]. __Stats__ : Entropy tables, following the same format as a [compressed blocks].
They are stored in following order : They are stored in following order :
@@ -1167,5 +1168,5 @@ __Content__ : Where the actual dictionary content is.
Version changes Version changes
--------------- ---------------
0.1.1 reserved dictID ranges - 0.1.1 reserved dictID ranges
0.1.0 initial release - 0.1.0 initial release