diff options
Diffstat (limited to 'zlib.h')
-rw-r--r-- | zlib.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -712,10 +712,11 @@ ZEXTERN int ZEXPORT deflateParams OF((z_streamp strm, | |||
712 | used to switch between compression and straight copy of the input data, or | 712 | used to switch between compression and straight copy of the input data, or |
713 | to switch to a different kind of input data requiring a different strategy. | 713 | to switch to a different kind of input data requiring a different strategy. |
714 | If the compression approach (which is a function of the level) or the | 714 | If the compression approach (which is a function of the level) or the |
715 | strategy is changed, then the input available so far is compressed with the | 715 | strategy is changed, and if any input has been consumed in a previous |
716 | old level and strategy using deflate(strm, Z_BLOCK). There are three | 716 | deflate() call, then the input available so far is compressed with the old |
717 | approaches for the compression levels 0, 1..3, and 4..9 respectively. The | 717 | level and strategy using deflate(strm, Z_BLOCK). There are three approaches |
718 | new level and strategy will take effect at the next call of deflate(). | 718 | for the compression levels 0, 1..3, and 4..9 respectively. The new level |
719 | and strategy will take effect at the next call of deflate(). | ||
719 | 720 | ||
720 | If a deflate(strm, Z_BLOCK) is performed by deflateParams(), and it does | 721 | If a deflate(strm, Z_BLOCK) is performed by deflateParams(), and it does |
721 | not have enough output space to complete, then the parameter change will not | 722 | not have enough output space to complete, then the parameter change will not |