=========================================================================== * Send one empty static block to give enough lookahead for inflate. * This takes 10 bits, of which 7 may remain in the bit buffer. */
(s)
| 894 | * This takes 10 bits, of which 7 may remain in the bit buffer. |
| 895 | */ |
| 896 | void ZLIB_INTERNAL _tr_align(s) |
| 897 | deflate_state *s; |
| 898 | { |
| 899 | send_bits(s, STATIC_TREES<<1, 3); |
| 900 | send_code(s, END_BLOCK, static_ltree); |
| 901 | #ifdef ZLIB_DEBUG |
| 902 | s->compressed_len += 10L; /* 3 for block type, 7 for EOB */ |
| 903 | #endif |
| 904 | bi_flush(s); |
| 905 | } |
| 906 | |
| 907 | /* =========================================================================== |
| 908 | * Determine the best encoding for the current block: dynamic trees, static |