aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/huffman.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-28 20:29:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-28 20:33:56 +0200
commit2b834a0605d9b6acb084ad9d1d9f04a7b4e19168 (patch)
tree085d4df572e918d526204bc30186f5bdf4a1aea9 /libavcodec/huffman.h
parenta63b479d119107db5330239402b388cb399bf116 (diff)
downloadffmpeg-2b834a0605d9b6acb084ad9d1d9f04a7b4e19168.tar.gz
avcodec/huffman: Allow specifying nb_bits to ff_huff_build_tree()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 729c09ed6b..cec95379ac 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);