changeset 3178:bd995b8c64fd libavcodec

Alignment fixes, caused problems on SPARC. patch by "David S. Miller" davem <<at>> davemloft <<dot>> net
author diego
date Thu, 09 Mar 2006 08:05:45 +0000
parents 8d1b2cc2a75b
children 870bbd067df8
files h264.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)