summaryrefslogtreecommitdiffstats
path: root/libavcodec/huffman.c
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.c
parent9ad1e0c12caa440de860bd8f2122beb11d73815c (diff)
downloadffmpeg-streaming-5a19bce2ff2b61602889392bec747ce81d1e9a1b.zip
ffmpeg-streaming-5a19bce2ff2b61602889392bec747ce81d1e9a1b.tar.gz
huffman: use a named identifer for the bits constant
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/huffman.c')
-rw-r--r--libavcodec/huffman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/huffman.c b/libavcodec/huffman.c
index eb5f01f..a55e536 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);
}
OpenPOWER on IntegriCloud