mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-11-16 07:32:34 +03:00
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
This commit is contained in:
1 parent
cdf1512eba
commit
fa6f27517b
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user