]> git.lizzy.rs Git - zlib.git/commitdiff
Correct the size of the inflate state in the comments.
authorMark Adler <madler@alumni.caltech.edu>
Wed, 21 Sep 2016 00:27:28 +0000 (17:27 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Wed, 21 Sep 2016 00:27:28 +0000 (17:27 -0700)
inflate.h

index 95f4986d400223bad542e5b34a7e6284a039425e..fbc9a67656dd779f46817dc2c55974160e17a4b7 100644 (file)
--- a/inflate.h
+++ b/inflate.h
@@ -77,7 +77,8 @@ typedef enum {
         CHECK -> LENGTH -> DONE
  */
 
-/* state maintained between inflate() calls.  Approximately 10K bytes. */
+/* State maintained between inflate() calls -- approximately 7K bytes, not
+   inlcuding the allocated sliding window, which is up to 32K bytes. */
 struct inflate_state {
     inflate_mode mode;          /* current inflate mode */
     int last;                   /* true if processing last block */