[FFmpeg-cvslog] r21719 - in branches/0.5: . libavcodec/vp3.c
siretart
subversion
Tue Feb 9 20:26:47 CET 2010
Author: siretart
Date: Tue Feb 9 20:26:47 2010
New Revision: 21719
Log:
Fix init_get_bits() buffer size.
18_fix_theora_header_bit_len.patch by chrome
backport r19993 by michael
Modified:
branches/0.5/ (props changed)
branches/0.5/libavcodec/vp3.c
Modified: branches/0.5/libavcodec/vp3.c
==============================================================================
--- branches/0.5/libavcodec/vp3.c Tue Feb 9 20:22:19 2010 (r21718)
+++ branches/0.5/libavcodec/vp3.c Tue Feb 9 20:26:47 2010 (r21719)
@@ -2231,7 +2231,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