[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h264.c,1.140,1.141
Michael Niedermayer CVS
michael
Tue Jun 28 08:45:44 CEST 2005
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv8117
Modified Files:
h264.c
Log Message:
fixing first_mb_in_slice if frame_mbs_only_flag==0 && mb_aff==0
Index: h264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h264.c,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -d -r1.140 -r1.141
--- h264.c 27 Jun 2005 23:13:10 -0000 1.140
+++ h264.c 28 Jun 2005 06:45:41 -0000 1.141
@@ -4234,7 +4234,7 @@
s->picture_structure= PICT_TOP_FIELD + get_bits1(&s->gb); //bottom_field_flag
} else {
s->picture_structure= PICT_FRAME;
- first_mb_in_slice <<= 1;
+ first_mb_in_slice <<= h->sps.mb_aff;
h->mb_aff_frame = h->sps.mb_aff;
}
}
More information about the ffmpeg-cvslog
mailing list