]> git.sesse.net Git - fjl/blobdiff - dehuff.h
read_huffman_tables() takes in unstuffed data, not raw data.
[fjl] / dehuff.h
index 6865dae0d7169bbe62b390e86c662d8c6439b13a..3d3d8c5b049b192bdb772355603c3ec4f92accc6 100644 (file)
--- a/dehuff.h
+++ b/dehuff.h
@@ -43,13 +43,11 @@ enum coefficient_class {
 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)
 {