diff options
Diffstat (limited to 'zlib.h')
-rw-r--r-- | zlib.h | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -712,11 +712,12 @@ 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, and if any input has been consumed in a previous | 715 | strategy is changed, and if there have been any deflate() calls since the |
716 | deflate() call, then the input available so far is compressed with the old | 716 | state was initialized or reset, then the input available so far is |
717 | level and strategy using deflate(strm, Z_BLOCK). There are three approaches | 717 | compressed with the old level and strategy using deflate(strm, Z_BLOCK). |
718 | for the compression levels 0, 1..3, and 4..9 respectively. The new level | 718 | There are three approaches for the compression levels 0, 1..3, and 4..9 |
719 | and strategy will take effect at the next call of deflate(). | 719 | respectively. The new level and strategy will take effect at the next call |
720 | of deflate(). | ||
720 | 721 | ||
721 | If a deflate(strm, Z_BLOCK) is performed by deflateParams(), and it does | 722 | If a deflate(strm, Z_BLOCK) is performed by deflateParams(), and it does |
722 | not have enough output space to complete, then the parameter change will not | 723 | not have enough output space to complete, then the parameter change will not |