diff options
author | David S. Miller <davem@davemloft.net> | 2006-03-09 08:05:45 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-03-09 08:05:45 +0000 |
commit | bf4665eeec57b2f3a1fa6b84ff940da1bd49b740 (patch) | |
tree | 3e90bce5a6f049d19cf869f32b1e2e80cb996197 /libavcodec/h264.c | |
parent | 267b0e57548257687164d940ac5d7a95223275ae (diff) | |
download | ffmpeg-bf4665eeec57b2f3a1fa6b84ff940da1bd49b740.tar.gz |
Alignment fixes, caused problems on SPARC.
patch by "David S. Miller" davem <<at>> davemloft <<dot>> net
Originally committed as revision 5130 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 678a0d0694..b923d50c36 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -4296,8 +4296,8 @@ static int decode_slice_header(H264Context *h){ 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) |