diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2024-05-16 19:07:00 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2024-05-16 19:07:00 -0700 |
| commit | 0f3b7b9595cc7d85c3b13282e71fcecef7f18f9c (patch) | |
| tree | afc60bc82801e00ed52007249fc96caf649c5108 | |
| parent | 1b70083bed43663901b3901a44f5537ba8b16ba0 (diff) | |
| download | zlib-0f3b7b9595cc7d85c3b13282e71fcecef7f18f9c.tar.gz zlib-0f3b7b9595cc7d85c3b13282e71fcecef7f18f9c.tar.bz2 zlib-0f3b7b9595cc7d85c3b13282e71fcecef7f18f9c.zip | |
Correct typo in zlib.h comment.
| -rw-r--r-- | zlib.h | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -597,11 +597,11 @@ ZEXTERN int ZEXPORT deflateInit2(z_streamp strm, | |||
| 597 | Z_RLE is almost as fast as Z_HUFFMAN_ONLY, but should give better | 597 | Z_RLE is almost as fast as Z_HUFFMAN_ONLY, but should give better |
| 598 | compression for PNG image data than Huffman only. The degree of string | 598 | compression for PNG image data than Huffman only. The degree of string |
| 599 | matching from most to none is: Z_DEFAULT_STRATEGY, Z_FILTERED, Z_RLE, then | 599 | matching from most to none is: Z_DEFAULT_STRATEGY, Z_FILTERED, Z_RLE, then |
| 600 | Z_HUFFMAN. The strategy parameter affects the compression ratio but never | 600 | Z_HUFFMAN_ONLY. The strategy parameter affects the compression ratio but |
| 601 | the correctness of the compressed output, even if it is not set optimally | 601 | never the correctness of the compressed output, even if it is not set |
| 602 | for the given data. Z_FIXED uses the default string matching, but prevents | 602 | optimally for the given data. Z_FIXED uses the default string matching, but |
| 603 | the use of dynamic Huffman codes, allowing for a simpler decoder for special | 603 | prevents the use of dynamic Huffman codes, allowing for a simpler decoder |
| 604 | applications. | 604 | for special applications. |
| 605 | 605 | ||
| 606 | deflateInit2 returns Z_OK if success, Z_MEM_ERROR if there was not enough | 606 | deflateInit2 returns Z_OK if success, Z_MEM_ERROR if there was not enough |
| 607 | memory, Z_STREAM_ERROR if any parameter is invalid (such as an invalid | 607 | memory, Z_STREAM_ERROR if any parameter is invalid (such as an invalid |
