if (vlc->table_size > vlc->table_allocated) {
vlc->table_allocated += (1 << vlc->bits);
vlc->table = para_realloc(vlc->table,
if (vlc->table_size > vlc->table_allocated) {
vlc->table_allocated += (1 << vlc->bits);
vlc->table = para_realloc(vlc->table,
{
int i, j, k, n, table_size, table_index, nb, n1, idx;
uint32_t code;
{
int i, j, k, n, table_size, table_index, nb, n1, idx;
uint32_t code;
* \param gbc The getbit context structure.
* \param table The vlc tables to use.
* \param bits The number of bits which will be read at once.
* \param gbc The getbit context structure.
* \param table The vlc tables to use.
* \param bits The number of bits which will be read at once.
-int get_vlc(struct getbit_context *gbc, VLC_TYPE(*table)[2], int bits,
- int max_depth)
+int get_vlc(struct getbit_context *gbc, int16_t (*table)[2], int bits)
{
int n, idx, nb_bits, code;
idx = show_bits(gbc, bits);
code = table[idx][0];
n = table[idx][1];
{
int n, idx, nb_bits, code;
idx = show_bits(gbc, bits);
code = table[idx][0];
n = table[idx][1];