summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-11-09 01:23:47 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-11-09 01:23:47 +0000
commit6c4d16556b96dae18977fddad3a43faaed579993 (patch)
tree4a8e75bd91bb8c11fda9913f99b4a6b36c975507 /libavcodec
parent47d23bbfe4c60e50b768d03ce955c51e69c7cec3 (diff)
10000l to myself, fixing regression test failure
Originally committed as revision 6953 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h263.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c
index d86ee8f81d..ba51c245a6 100644
--- a/libavcodec/h263.c
+++ b/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;