/**
- * @file huffman.c
+ * @file
* huffman tree builder and VLC generator
* Copyright (c) 2006 Konstantin Shishkov
*
*/
#include "avcodec.h"
-#include "bitstream.h"
+#include "get_bits.h"
#include "huffman.h"
/* symbol for Huffman tree node */
* first nb_codes nodes.count must be set
*/
int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes,
- Node *nodes, huff_cmp_t cmp, int flags)
+ Node *nodes, HuffCmp cmp, int flags)
{
int i, j;
int cur_node;