Commit 8e258871 authored by michael's avatar michael

10000l to myself, fixing regression test failure


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6953 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c5e37ed6
...@@ -3196,7 +3196,7 @@ static inline int mpeg4_is_resync(MpegEncContext *s){ ...@@ -3196,7 +3196,7 @@ static inline int mpeg4_is_resync(MpegEncContext *s){
} }
while(v<=0xFF){ 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; break;
skip_bits(&s->gb, 8+s->pict_type); skip_bits(&s->gb, 8+s->pict_type);
bits_count+= 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