summaryrefslogtreecommitdiff
path: root/libavcodec/huffman.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-09-02 14:22:16 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-09-03 13:55:38 +0200
commit26960aa1cd865e5dc55c67fb2ff9f0629e4d1bda (patch)
tree89e9903f41519c23c033e3eb228a778a73f8e416 /libavcodec/huffman.h
parent5a19bce2ff2b61602889392bec747ce81d1e9a1b (diff)
huffman: increase bits constant
Bug-ID: ffmpeg ticket 2593 Signed-off-by: Anton Khirnov <anton@khirnov.net>
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 3e935c0359..9b41ad757c 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,