diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-09-02 14:22:15 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-03 13:55:38 +0200 |
commit | 5a19bce2ff2b61602889392bec747ce81d1e9a1b (patch) | |
tree | da4ae2ab055dec88ffcf5b93d3ab6124de366b5a /libavcodec/vp6.c | |
parent | 9ad1e0c12caa440de860bd8f2122beb11d73815c (diff) | |
download | ffmpeg-5a19bce2ff2b61602889392bec747ce81d1e9a1b.tar.gz |
huffman: use a named identifer for the bits constant
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/vp6.c')
-rw-r--r-- | libavcodec/vp6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c index 4435444afd..5026c2a7ba 100644 --- a/libavcodec/vp6.c +++ b/libavcodec/vp6.c @@ -402,11 +402,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 |