=========================================================================== * Send one empty static block to give enough lookahead for inflate. * This takes 10 bits, of which 7 may remain in the bit buffer. */
| 861 | * This takes 10 bits, of which 7 may remain in the bit buffer. |
| 862 | */ |
| 863 | void ZLIB_INTERNAL _tr_align(deflate_state *s) |
| 864 | { |
| 865 | send_bits(s, STATIC_TREES<<1, 3); |
| 866 | send_code(s, END_BLOCK, static_ltree); |
| 867 | #ifdef DEBUG |
| 868 | s->compressed_len += 10L; /* 3 for block type, 7 for EOB */ |
| 869 | #endif |
| 870 | bi_flush(s); |
| 871 | } |
| 872 | |
| 873 | /* =========================================================================== |
| 874 | * Determine the best encoding for the current block: dynamic trees, static |