# HG changeset patch # User diego # Date 1141891545 0 # Node ID bd995b8c64fd6ab2bbb59e201f39c7b05ea47915 # Parent 8d1b2cc2a75bd0bad08854a2f24adbc12be14267 Alignment fixes, caused problems on SPARC. patch by "David S. Miller" davem <> davemloft <> net diff -r 8d1b2cc2a75b -r bd995b8c64fd h264.c --- a/h264.c Wed Mar 08 11:43:10 2006 +0000 +++ b/h264.c Thu Mar 09 08:05:45 2006 +0000 @@ -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)