Commit edee4db8 authored by michaelni's avatar michaelni

oops


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@345 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 29c2235b
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment