avcodec/huffman: increase bits constant
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 21 May 2013 11:40:01 +0000 (13:40 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 21 May 2013 11:51:04 +0000 (13:51 +0200)
Fixes Ticket2593

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/huffman.h

index a04753f..729c09e 100644 (file)
@@ -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,