summaryrefslogtreecommitdiff
path: root/libavcodec/huffman.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-09-02 14:22:15 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-09-03 13:55:38 +0200
commit5a19bce2ff2b61602889392bec747ce81d1e9a1b (patch)
treeda4ae2ab055dec88ffcf5b93d3ab6124de366b5a /libavcodec/huffman.h
parent9ad1e0c12caa440de860bd8f2122beb11d73815c (diff)
huffman: use a named identifer for the bits constant
Signed-off-by: Anton Khirnov <anton@khirnov.net>
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 043e6e3991..3e935c0359 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,