10000l to myself, fixing regression test failure

Originally committed as revision 6953 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 18 years ago
parent 47d23bbfe4
commit 6c4d16556b
  1. 2
      libavcodec/h263.c

@ -3196,7 +3196,7 @@ static inline int mpeg4_is_resync(MpegEncContext *s){
}
while(v<=0xFF){
if(s->pict_type==B_TYPE || (v>>(8-s->pict_type)!=1))
if(s->pict_type==B_TYPE || (v>>(8-s->pict_type)!=1) || s->partitioned_frame)
break;
skip_bits(&s->gb, 8+s->pict_type);
bits_count+= 8+s->pict_type;

Loading…
Cancel
Save