Mercurial > libavcodec.hg
changeset 5945:3413fce9e26a libavcodec
10l: init_get_bits want size in bits, not bytes
author | aurel |
---|---|
date | Tue, 27 Nov 2007 22:00:45 +0000 |
parents | 0203d969bcd5 |
children | 55251379b5b1 |
files | vp6.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vp6.c Tue Nov 27 21:30:10 2007 +0000 +++ b/vp6.c Tue Nov 27 22:00:45 2007 +0000 @@ -138,7 +138,7 @@ 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;