aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/huffman.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-21 13:37:00 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-21 13:51:04 +0200
commitb9ea6a84143a2a8fb5d1ba891e7378924ec76b6b (patch)
treee431675947e0a01ce3df6cecd4f5eb0bcd03133f /libavcodec/huffman.h
parent1d7e6a6bde73a83dc8175c20598dbb4b9f53e637 (diff)
downloadffmpeg-b9ea6a84143a2a8fb5d1ba891e7378924ec76b6b.tar.gz
avcodec/huffman: use named identifer for the bits constant
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/huffman.h')
-rw-r--r--libavcodec/huffman.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/huffman.h b/libavcodec/huffman.h
index 4f9ccbad50..a04753f2db 100644
--- a/libavcodec/huffman.h
+++ b/libavcodec/huffman.h
@@ -37,6 +37,7 @@ typedef struct Node {
#define FF_HUFFMAN_FLAG_HNODE_FIRST 0x01
#define FF_HUFFMAN_FLAG_ZERO_COUNT 0x02
+#define FF_HUFFMAN_BITS 9
typedef int (*HuffCmp)(const void *va, const void *vb);
int ff_huff_build_tree(AVCodecContext *avctx, VLC *vlc, int nb_codes,