maxmatch = MAXMATCH;
init_getbits();
init_code_cache();
-#ifdef SUPPORT_LH7
- np = 1 << (MAX_DICBIT - 7);
-#endif
-#ifndef SUPPORT_LH7
- np = 1 << (MAX_DICBIT - 6);
-#endif
-
+ np = 1 << (LZHUFF3_DICBIT - 6);
}
/* ------------------------------------------------------------------------ */
make_table(NP, pt_len, 8, pt_table);
}
blocksize--;
- j = c_table[bitbuf >> 4];
+ j = c_table[peekbits(12)];
if (j < N1)
fillbuf(c_len[j]);
else {
{
int i, j;
- j = pt_table[bitbuf >> 8];
+ j = pt_table[peekbits(8)];
if (j < np) {
fillbuf(pt_len[j]);
}