diff options
author | Google Chrome <> | 2009-09-23 12:27:10 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-09-23 12:27:10 +0000 |
commit | fa6f27517beb0807138b37213f28a997bfa6db3c (patch) | |
tree | cb604d13771d620e0696c0b3479c4d9b080da737 /libavcodec | |
parent | cdf1512ebac8b95afad3ec4352550f0f0240ce26 (diff) | |
download | ffmpeg-fa6f27517beb0807138b37213f28a997bfa6db3c.tar.gz |
Fix init_get_bits() buffer size.
18_fix_theora_header_bit_len.patch by chrome
Originally committed as revision 19993 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vp3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 4d27a8a781..4896fd049f 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -2319,7 +2319,7 @@ static av_cold int theora_decode_init(AVCodecContext *avctx) } 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); |