xpress_lz_decode(struct input_bitstream * restrict istream,
u8 uncompressed_data[restrict],
unsigned uncompressed_len,
- const u8 lens[restrict],
const u16 decode_table[restrict])
{
input_idx_t curpos;
bitstream_ensure_bits(istream, 16);
sym = read_huffsym(istream, decode_table,
- XPRESS_NUM_SYMBOLS, XPRESS_TABLEBITS,
- XPRESS_MAX_CODEWORD_LEN);
+ XPRESS_TABLEBITS, XPRESS_MAX_CODEWORD_LEN);
if (sym < XPRESS_NUM_CHARS) {
/* Literal */
uncompressed_data[curpos] = sym;
compressed_size - XPRESS_NUM_SYMBOLS / 2);
return xpress_lz_decode(&istream, uncompressed_data,
- uncompressed_size, lens, decode_table);
+ uncompressed_size, decode_table);
}
const struct decompressor_ops xpress_decompressor_ops = {