From b1bbd715d8c42f4236f3bceac061f81da2c31a35 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 21 May 2013 13:40:01 +0200 Subject: [PATCH] avcodec/huffman: increase bits constant Fixes Ticket2593 Signed-off-by: Michael Niedermayer --- libavcodec/huffman.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,