diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-28 20:29:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-28 20:33:56 +0200 |
commit | 2b834a0605d9b6acb084ad9d1d9f04a7b4e19168 (patch) | |
tree | 085d4df572e918d526204bc30186f5bdf4a1aea9 /libavcodec/huffman.h | |
parent | a63b479d119107db5330239402b388cb399bf116 (diff) | |
download | ffmpeg-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.h | 2 |
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); |