diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-21 13:37:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-21 13:51:04 +0200 |
commit | b9ea6a84143a2a8fb5d1ba891e7378924ec76b6b (patch) | |
tree | e431675947e0a01ce3df6cecd4f5eb0bcd03133f /libavcodec/vp6.c | |
parent | 1d7e6a6bde73a83dc8175c20598dbb4b9f53e637 (diff) | |
download | ffmpeg-b9ea6a84143a2a8fb5d1ba891e7378924ec76b6b.tar.gz |
avcodec/huffman: use named identifer for the bits constant
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 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 |