1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

10000l to myself, fixing regression test failure

Originally committed as revision 6953 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-11-09 01:23:47 +00:00
parent 47d23bbfe4
commit 6c4d16556b

View File

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