From b9ea6a84143a2a8fb5d1ba891e7378924ec76b6b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 21 May 2013 13:37:00 +0200 Subject: avcodec/huffman: use named identifer for the bits constant Signed-off-by: Michael Niedermayer --- libavcodec/vp6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/vp6.c') diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c index 6e385ce1de..cc0ac6c3d7 100644 --- a/libavcodec/vp6.c +++ b/libavcodec/vp6.c @@ -388,11 +388,11 @@ static void vp6_parse_coeff_huffman(VP56Context *s) } else { if (get_bits_left(&s->gb) <= 0) return; - coeff = get_vlc2(&s->gb, vlc_coeff->table, 9, 3); + coeff = get_vlc2(&s->gb, vlc_coeff->table, FF_HUFFMAN_BITS, 3); if (coeff == 0) { if (coeff_idx) { int pt = (coeff_idx >= 6); - run += get_vlc2(&s->gb, s->runv_vlc[pt].table, 9, 3); + run += get_vlc2(&s->gb, s->runv_vlc[pt].table, FF_HUFFMAN_BITS, 3); if (run >= 9) run += get_bits(&s->gb, 6); } else -- cgit v1.2.1