diff options
| -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 |
