diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-21 15:37:00 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-21 15:51:04 +0400 |
commit | b9ea6a84143a2a8fb5d1ba891e7378924ec76b6b (patch) | |
tree | e431675947e0a01ce3df6cecd4f5eb0bcd03133f /libavcodec/huffman.c | |
parent | 1d7e6a6bde73a83dc8175c20598dbb4b9f53e637 (diff) |
avcodec/huffman: use named identifer for the bits constant
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/huffman.c')
-rw-r--r-- | libavcodec/huffman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/huffman.c b/libavcodec/huffman.c index 27fed9f022..6e388292c2 100644 --- a/libavcodec/huffman.c +++ b/libavcodec/huffman.c @@ -122,7 +122,7 @@ static int build_huff_tree(VLC *vlc, Node *nodes, int head, int flags) get_tree_codes(bits, lens, xlat, nodes, head, 0, 0, &pos, no_zero_count); - return ff_init_vlc_sparse(vlc, 9, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0); + return ff_init_vlc_sparse(vlc, FF_HUFFMAN_BITS, pos, lens, 2, 2, bits, 4, 4, xlat, 1, 1, 0); } |