From 263b1a05b04e442896d7941f87d022a2f35a9220 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sat, 7 Jan 2012 09:54:40 -0800 Subject: 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. --- trees.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'trees.c') diff --git a/trees.c b/trees.c index 56e9bb1..23156ab 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. */ -- cgit v1.2.3-55-g6feb