Browse Source

oops

Originally committed as revision 345 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 23 years ago
parent
commit
c7d5049c98
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/h263.c

+ 1
- 1
libavcodec/h263.c View File

@@ -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;
}


Loading…
Cancel
Save