1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00

Fix init_get_bits() buffer size.

18_fix_theora_header_bit_len.patch by chrome

backport r19993 by michael


Originally committed as revision 21719 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
This commit is contained in:
Google Chrome 2010-02-09 19:26:47 +00:00 committed by Reinhard Tartler
parent 3835603e7e
commit 8811fe6987

View File

@ -2231,7 +2231,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);