return (buf[0] << 8) | buf[1];
}
-void read_huffman_tables(huffman_tables_t* dst, raw_input_func_t* input_func, void* userdata)
+void read_huffman_tables(huffman_tables_t* dst, input_func_t* input_func, void* userdata)
{
size_t len = read_length(input_func, userdata);
assert(len > 2);
typedef struct huffman_table huffman_tables_t[NUM_COEFF_CLASSES][4];
// Read Huffman tables from a stream, and compute the derived values.
-void read_huffman_tables(huffman_tables_t* dst, raw_input_func_t* input_func, void* userdata);
+void read_huffman_tables(huffman_tables_t* dst, input_func_t* input_func, void* userdata);
unsigned read_huffman_symbol_slow_path(const struct huffman_table* table,
struct bit_source* source);
-#include <stdio.h>
-
static inline unsigned read_huffman_symbol(const struct huffman_table* table,
struct bit_source* source)
{