Commit 6c4d1655 authored by Michael Niedermayer's avatar Michael Niedermayer

10000l to myself, fixing regression test failure

Originally committed as revision 6953 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 47d23bbf
......@@ -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;
......
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