From 5a19bce2ff2b61602889392bec747ce81d1e9a1b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 2 Sep 2015 14:22:15 +0200 Subject: huffman: use a named identifer for the bits constant Signed-off-by: Anton Khirnov --- libavcodec/huffman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/huffman.c') diff --git a/libavcodec/huffman.c b/libavcodec/huffman.c index eb5f01fcf9..a55e536e0f 100644 --- a/libavcodec/huffman.c +++ b/libavcodec/huffman.c @@ -124,7 +124,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); } -- cgit v1.2.3