[FFmpeg-cvslog] r11099 - trunk/libavcodec/vp6.c
aurel
subversion
Tue Nov 27 23:00:45 CET 2007
Author: aurel
Date: Tue Nov 27 23:00:45 2007
New Revision: 11099
Log:
10l: init_get_bits want size in bits, not bytes
Modified:
trunk/libavcodec/vp6.c
Modified: trunk/libavcodec/vp6.c
==============================================================================
--- trunk/libavcodec/vp6.c (original)
+++ trunk/libavcodec/vp6.c Tue Nov 27 23:00:45 2007
@@ -138,7 +138,7 @@ static int vp6_parse_header(vp56_context
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;
More information about the ffmpeg-cvslog
mailing list