[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h264.c,1.196,1.197
Diego Biurrun CVS
diego
Thu Mar 9 09:05:48 CET 2006
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv23744/libavcodec
Modified Files:
h264.c
Log Message:
Alignment fixes, caused problems on SPARC.
patch by "David S. Miller" davem <<at>> davemloft <<dot>> net
Index: h264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h264.c,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -d -r1.196 -r1.197
--- h264.c 8 Mar 2006 11:43:08 -0000 1.196
+++ h264.c 9 Mar 2006 08:05:45 -0000 1.197
@@ -4296,8 +4296,8 @@
s->mb_width= h->sps.mb_width;
s->mb_height= h->sps.mb_height * (2 - h->sps.frame_mbs_only_flag);
- h->b_stride= s->mb_width*4 + 1;
- h->b8_stride= s->mb_width*2 + 1;
+ h->b_stride= s->mb_width*4;
+ h->b8_stride= s->mb_width*2;
s->width = 16*s->mb_width - 2*(h->sps.crop_left + h->sps.crop_right );
if(h->sps.frame_mbs_only_flag)
More information about the ffmpeg-cvslog
mailing list