diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-11-28 01:00:45 +0300 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-11-28 01:00:45 +0300 |
commit | 713b0bffd6e172bc28b93a397101b626e9e3a8c8 (patch) | |
tree | 8bd4acad17ddf0ddc92b6e22fac8323f05275f3f /libavcodec/vp6.c | |
parent | 48b36ec24b8a03c52c4a54ab8f437c922a2649ef (diff) |
10l: init_get_bits want size in bits, not bytes
Originally committed as revision 11099 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp6.c')
-rw-r--r-- | libavcodec/vp6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp6.c b/libavcodec/vp6.c index 7751bd18f2..9f912d36ee 100644 --- a/libavcodec/vp6.c +++ b/libavcodec/vp6.c @@ -138,7 +138,7 @@ static int vp6_parse_header(vp56_context_t *s, uint8_t *buf, int buf_size, buf_size -= coeff_offset; if (s->use_huffman) { s->parse_coeff = vp6_parse_coeff_huffman; - init_get_bits(&s->gb, buf, buf_size); + init_get_bits(&s->gb, buf, buf_size<<3); } else { vp56_init_range_decoder(&s->cc, buf, buf_size); s->ccp = &s->cc; |