summaryrefslogtreecommitdiff
path: root/libavcodec/huffman.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-21 13:40:01 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-21 13:51:04 +0200
commitb1bbd715d8c42f4236f3bceac061f81da2c31a35 (patch)
tree49bb38679ee45fa591e6dbb22a5a94cbeaf4b76f /libavcodec/huffman.h
parentb9ea6a84143a2a8fb5d1ba891e7378924ec76b6b (diff)
avcodec/huffman: increase bits constant
Fixes Ticket2593 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 a04753f2db..729c09ed6b 100644
--- a/libavcodec/huffman.h
+++ b/libavcodec/huffman.h
@@ -37,7 +37,7 @@ typedef struct Node {
#define FF_HUFFMAN_FLAG_HNODE_FIRST 0x01
#define FF_HUFFMAN_FLAG_ZERO_COUNT 0x02
-#define FF_HUFFMAN_BITS 9
+#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,