summaryrefslogtreecommitdiff
path: root/trees.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2012-01-07 09:54:40 -0800
committerMark Adler <madler@alumni.caltech.edu>2012-01-07 14:03:07 -0800
commit263b1a05b04e442896d7941f87d022a2f35a9220 (patch)
tree465a40cf714deb72b89504c1f3f9665db3feafd6 /trees.c
parent19761b8506f15d6eeeb6ccfab33a11abce0f40e7 (diff)
downloadProject-Tick-263b1a05b04e442896d7941f87d022a2f35a9220.tar.gz
Project-Tick-263b1a05b04e442896d7941f87d022a2f35a9220.zip
Allow deflatePrime() to insert bits in the middle of a stream.
This allows the insertion of multiple empty static blocks for the purpose of efficiently bringing a stream to a byte boundary.
Diffstat (limited to 'trees.c')
-rw-r--r--trees.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/trees.c b/trees.c
index 56e9bb1c11..23156abc01 100644
--- a/trees.c
+++ b/trees.c
@@ -1,5 +1,5 @@
/* trees.c -- output deflated data using Huffman coding
- * Copyright (C) 1995-2010 Jean-loup Gailly
+ * Copyright (C) 1995-2012 Jean-loup Gailly
* detect_data_type() function provided freely by Cosmin Truta, 2006
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -74,11 +74,6 @@ local const uch bl_order[BL_CODES]
* probability, to avoid transmitting the lengths for unused bit length codes.
*/
-#define Buf_size (8 * 2*sizeof(char))
-/* Number of bits used within bi_buf. (bi_buf might be implemented on
- * more than 16 bits on some systems.)
- */
-
/* ===========================================================================
* Local data. These are initialized only once.
*/