summaryrefslogtreecommitdiff
path: root/inftrees.h
diff options
context:
space:
mode:
Diffstat (limited to 'inftrees.h')
-rw-r--r--inftrees.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/inftrees.h b/inftrees.h
index c2513d1..85853e0 100644
--- a/inftrees.h
+++ b/inftrees.h
@@ -19,17 +19,15 @@ struct inflate_huft_s {
19 Byte Exop; /* number of extra bits or operation */ 19 Byte Exop; /* number of extra bits or operation */
20 Byte Bits; /* number of bits in this code or subcode */ 20 Byte Bits; /* number of bits in this code or subcode */
21 } what; 21 } what;
22 Bytef *pad; /* pad structure to a power of 2 (4 bytes for */ 22 uInt pad; /* pad structure to a power of 2 (4 bytes for */
23 } word; /* 16-bit, 8 bytes for 32-bit machines) */ 23 } word; /* 16-bit, 8 bytes for 32-bit int's) */
24 union { 24 uInt base; /* literal, length base, distance base,
25 uInt Base; /* literal, length base, or distance base */ 25 or table offset */
26 inflate_huft *Next; /* pointer to next level of table */
27 } more;
28}; 26};
29 27
30/* Maximum size of dynamic tree. The maximum found in a long but non- 28/* Maximum size of dynamic tree. The maximum found in a long but non-
31 exhaustive search was 1041 huft structures (875 for length/literals 29 exhaustive search was 1004 huft structures (850 for length/literals
32 and 166 for distances, the latter actually the result of an 30 and 154 for distances, the latter actually the result of an
33 exhaustive search). The actual maximum is not known, but the 31 exhaustive search). The actual maximum is not known, but the
34 value below is more than safe. */ 32 value below is more than safe. */
35#define MANY 1440 33#define MANY 1440