[FFmpeg-cvslog] avcodec/huffman: increase bits constant

Michael Niedermayer git at videolan.org
Tue May 21 13:52:37 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue May 21 13:40:01 2013 +0200| [b1bbd715d8c42f4236f3bceac061f81da2c31a35] | committer: Michael Niedermayer

avcodec/huffman: increase bits constant

Fixes Ticket2593

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b1bbd715d8c42f4236f3bceac061f81da2c31a35
---

 libavcodec/huffman.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/huffman.h b/libavcodec/huffman.h
index a04753f..729c09e 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,



More information about the ffmpeg-cvslog mailing list