提交 c7d5049c 编写于 作者: M Michael Niedermayer

oops

Originally committed as revision 345 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 45870f57
......@@ -2125,7 +2125,7 @@ int mpeg4_decode_picture_header(MpegEncContext * s)
break;
}
state = ((state << 8) | v) & 0xffffff;
if( get_bits_count(&s->gb) > s->gb.size*8){
if( get_bits_count(&s->gb) > s->gb.size*8-32){
printf("no VOP startcode found\n");
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册