diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-14 22:30:59 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-14 22:30:59 +0000 |
commit | f28b10483accd131125752e45160508b260ca9ac (patch) | |
tree | 64e1160ff576fb1e620b80ede5a2cece34c2d724 /libavcodec/vp5.c | |
parent | 437c2079b7984f4989dbc924cf06d1645fa90d82 (diff) | |
download | ffmpeg-f28b10483accd131125752e45160508b260ca9ac.tar.gz |
add support for VP6 with huffman encoded blocks
closes issue 104
Originally committed as revision 10737 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp5.c')
-rw-r--r-- | libavcodec/vp5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp5.c b/libavcodec/vp5.c index 8939f02c34..ef2d326eea 100644 --- a/libavcodec/vp5.c +++ b/libavcodec/vp5.c @@ -205,7 +205,7 @@ static void vp5_parse_coeff(vp56_context_t *s) s->coeff_ctx[vp56_b6to4[b]][coeff_idx] = 4; idx = vp56_rac_get_tree(c, vp56_pc_tree, model1); sign = vp56_rac_get(c); - coeff = vp56_coeff_bias[idx]; + coeff = vp56_coeff_bias[idx+5]; for (i=vp56_coeff_bit_length[idx]; i>=0; i--) coeff += vp56_rac_get_prob(c, vp56_coeff_parse_table[idx][i]) << i; } else { |