diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2012-01-07 09:54:40 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2012-01-07 14:03:07 -0800 |
commit | 263b1a05b04e442896d7941f87d022a2f35a9220 (patch) | |
tree | 465a40cf714deb72b89504c1f3f9665db3feafd6 /deflate.h | |
parent | 19761b8506f15d6eeeb6ccfab33a11abce0f40e7 (diff) | |
download | zlib-263b1a05b04e442896d7941f87d022a2f35a9220.tar.gz |
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 'deflate.h')
-rw-r--r-- | deflate.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |