]> git.ipfire.org Git - thirdparty/zlib-ng.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)
committerHans Kristian Rosbach <hk-git@circlestorm.org>
Tue, 31 Jan 2017 09:55:05 +0000 (10:55 +0100)
inflate.h

index 2bf129db153559559c23bc15054aa6ca25c551cd..1bf051ec5a21d70f435068b8beb58dc85828a8eb 100644 (file)
--- a/inflate.h
+++ b/inflate.h
@@ -80,7 +80,8 @@ typedef enum {
         CHECK -> LENGTH -> DONE
  */
 
-/* state maintained between inflate() calls.  Approximately 10K bytes. */
+/* State maintained between inflate() calls -- approximately 7K bytes, not
+   including 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 */