summaryrefslogtreecommitdiff
path: root/libavcodec/huffman.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-13 01:03:54 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-13 01:22:43 +0100
commit7b41cbac7fc03cfc4714049fbe849cb3f96ffaa5 (patch)
tree0c778ad61ce4809b1a404374a96440604a6bc8fd /libavcodec/huffman.h
parentaf68bd1c06ff9ea7379a95d39d5fde5fa1938cd3 (diff)
avcodec/huffman: extend ff_huff_gen_len_table() to allow >8bit
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 cec95379ac..b1ace62201 100644
--- a/libavcodec/huffman.h
+++ b/libavcodec/huffman.h
@@ -43,6 +43,6 @@ typedef int (*HuffCmp)(const void *va, const void *vb);
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);
+int ff_huff_gen_len_table(uint8_t *dst, const uint64_t *stats, int n);
#endif /* AVCODEC_HUFFMAN_H */