changeset 10247:d405b8e7461a libavcodec

Fix init_get_bits() buffer size. 18_fix_theora_header_bit_len.patch by chrome
author michael
date Wed, 23 Sep 2009 12:27:10 +0000
parents d82fb1889446
children 575faff0a524
files vp3.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vp3.c	Wed Sep 23 12:24:21 2009 +0000
+++ b/vp3.c	Wed Sep 23 12:27:10 2009 +0000
@@ -2319,7 +2319,7 @@
     }
 
   for(i=0;i<3;i++) {
-    init_get_bits(&gb, header_start[i], header_len[i]);
+    init_get_bits(&gb, header_start[i], header_len[i] * 8);
 
     ptype = get_bits(&gb, 8);