summaryrefslogtreecommitdiffstats
path: root/libavcodec/huffman.c
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.c
parent1d7e6a6bde73a83dc8175c20598dbb4b9f53e637 (diff)
downloadffmpeg-streaming-b9ea6a84143a2a8fb5d1ba891e7378924ec76b6b.zip
ffmpeg-streaming-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.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 27fed9f..6e38829 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);
}
OpenPOWER on IntegriCloud