Commit b1bbd715 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/huffman: increase bits constant

Fixes Ticket2593
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b9ea6a84
...@@ -37,7 +37,7 @@ typedef struct Node { ...@@ -37,7 +37,7 @@ typedef struct Node {
#define FF_HUFFMAN_FLAG_HNODE_FIRST 0x01 #define FF_HUFFMAN_FLAG_HNODE_FIRST 0x01
#define FF_HUFFMAN_FLAG_ZERO_COUNT 0x02 #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); typedef int (*HuffCmp)(const void *va, const void *vb);
int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes, int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment