const void *bits, const void *codes, int codes_size,
uint32_t code_prefix, int n_prefix)
{
- int i, j, k, n, table_size, table_index, nb, n1, idx, code_prefix2,
- symbol;
+ int i, j, k, n, table_size, table_index, nb, n1, idx, code_prefix2;
uint32_t code;
VLC_TYPE(*table)[2];
/* we accept tables with holes */
if (n <= 0)
continue;
- symbol = i;
/* if code matches the prefix, it is in the table */
n -= n_prefix;
code_prefix2 = code >> n;
exit(EXIT_FAILURE);
}
table[j][1] = n; /* bits */
- table[j][0] = symbol;
+ table[j][0] = i;
j++;
}
} else {