[FFmpeg-cvslog] r19993 - trunk/libavcodec/vp3.c

michael subversion
Wed Sep 23 14:27:11 CEST 2009


Author: michael
Date: Wed Sep 23 14:27:10 2009
New Revision: 19993

Log:
Fix init_get_bits() buffer size.
18_fix_theora_header_bit_len.patch by chrome

Modified:
   trunk/libavcodec/vp3.c

Modified: trunk/libavcodec/vp3.c
==============================================================================
--- trunk/libavcodec/vp3.c	Wed Sep 23 14:24:21 2009	(r19992)
+++ trunk/libavcodec/vp3.c	Wed Sep 23 14:27:10 2009	(r19993)
@@ -2319,7 +2319,7 @@ static av_cold int theora_decode_init(AV
     }
 
   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);
 



More information about the ffmpeg-cvslog mailing list