[FFmpeg-cvslog] huffman: increase bits constant

Michael Niedermayer git at videolan.org
Tue Sep 8 14:17:12 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Sep  2 14:22:16 2015 +0200| [26960aa1cd865e5dc55c67fb2ff9f0629e4d1bda] | committer: Vittorio Giovara

huffman: increase bits constant

Bug-ID: ffmpeg ticket 2593

Signed-off-by: Anton Khirnov <anton at khirnov.net>

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

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

diff --git a/libavcodec/huffman.h b/libavcodec/huffman.h
index 3e935c0..9b41ad7 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