diff options
-rw-r--r-- | zlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -320,8 +320,8 @@ ZEXTERN int ZEXPORT deflate(z_streamp strm, int flush); | |||
320 | with the same value of the flush parameter and more output space (updated | 320 | with the same value of the flush parameter and more output space (updated |
321 | avail_out), until the flush is complete (deflate returns with non-zero | 321 | avail_out), until the flush is complete (deflate returns with non-zero |
322 | avail_out). In the case of a Z_FULL_FLUSH or Z_SYNC_FLUSH, make sure that | 322 | avail_out). In the case of a Z_FULL_FLUSH or Z_SYNC_FLUSH, make sure that |
323 | avail_out is greater than six to avoid repeated flush markers due to | 323 | avail_out is greater than six when the flush marker begins, in order to avoid |
324 | avail_out == 0 on return. | 324 | repeated flush markers upon calling deflate() again when avail_out == 0. |
325 | 325 | ||
326 | If the parameter flush is set to Z_FINISH, pending input is processed, | 326 | If the parameter flush is set to Z_FINISH, pending input is processed, |
327 | pending output is flushed and deflate returns with Z_STREAM_END if there was | 327 | pending output is flushed and deflate returns with Z_STREAM_END if there was |