summaryrefslogtreecommitdiff
path: root/libavcodec/huffman.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-09-02 14:22:17 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-09-03 13:55:38 +0200
commit741d353ab9cb47fe864e60552bf7b9af7aaa735b (patch)
tree0660a0c72bf99c62f4f375d28f1fae7506eace88 /libavcodec/huffman.h
parent26960aa1cd865e5dc55c67fb2ff9f0629e4d1bda (diff)
huffman: allow specifying nb_bits to ff_huff_build_tree()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/huffman.h')
-rw-r--r--libavcodec/huffman.h2
1 files changed, 1 insertions, 1 deletions
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);