From 741d353ab9cb47fe864e60552bf7b9af7aaa735b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 2 Sep 2015 14:22:17 +0200 Subject: huffman: allow specifying nb_bits to ff_huff_build_tree() Signed-off-by: Anton Khirnov --- libavcodec/huffman.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/huffman.h') diff --git a/libavcodec/huffman.h b/libavcodec/huffman.h index 9b41ad757c..c9eeb3736b 100644 --- a/libavcodec/huffman.h +++ b/libavcodec/huffman.h @@ -40,7 +40,7 @@ typedef struct Node { #define FF_HUFFMAN_BITS 10 typedef int (*HuffCmp)(const void *va, const void *vb); -int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes, +int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes, int nb_bits, Node *nodes, HuffCmp cmp, int flags); void ff_huff_gen_len_table(uint8_t *dst, const uint64_t *stats); -- cgit v1.2.3