=========================================================================== * Send one empty static block to give enough lookahead for inflate. * This takes 10 bits, of which 7 may remain in the bit buffer. */
| 884 | * This takes 10 bits, of which 7 may remain in the bit buffer. |
| 885 | */ |
| 886 | void ZLIB_INTERNAL _tr_align(deflate_state *s) { |
| 887 | send_bits(s, STATIC_TREES<<1, 3); |
| 888 | send_code(s, END_BLOCK, static_ltree); |
| 889 | #ifdef ZLIB_DEBUG |
| 890 | s->compressed_len += 10L; /* 3 for block type, 7 for EOB */ |
| 891 | #endif |
| 892 | bi_flush(s); |
| 893 | } |
| 894 | |
| 895 | /* =========================================================================== |
| 896 | * Send the block data compressed using the given Huffman trees |