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. --- deflate.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'deflate.h') diff --git a/deflate.h b/deflate.h index 442e14a..9284329 100644 --- a/deflate.h +++ b/deflate.h @@ -1,5 +1,5 @@ /* deflate.h -- internal compression state - * Copyright (C) 1995-2010 Jean-loup Gailly + * Copyright (C) 1995-2012 Jean-loup Gailly * For conditions of distribution and use, see copyright notice in zlib.h */ @@ -48,6 +48,9 @@ #define MAX_BITS 15 /* All codes must not exceed MAX_BITS bits */ +#define Buf_size 16 +/* size of bit buffer in bi_buf */ + #define INIT_STATE 42 #define EXTRA_STATE 69 #define NAME_STATE 73 -- cgit v1.2.3-55-g6feb