From b7f435b058d60771c6db4db1246526c095b54d26 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 9 Nov 2007 21:56:18 +0000 Subject: [PATCH] vertical align Originally committed as revision 10981 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/intrax8.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/intrax8.c b/libavcodec/intrax8.c index 3ab2b6d029..1f006f9ce9 100644 --- a/libavcodec/intrax8.c +++ b/libavcodec/intrax8.c @@ -653,7 +653,7 @@ static inline void x8_init_block_index(MpegEncContext *s){ //FIXME maybe merge w s->dest[1] = s->current_picture.data[1]; s->dest[2] = s->current_picture.data[2]; - s->dest[0] += s->mb_y * linesize << 3; + s->dest[0] += s->mb_y * linesize << 3; s->dest[1] += ( s->mb_y&(~1) ) * uvlinesize << 2;//chroma blocks are on add rows s->dest[2] += ( s->mb_y&(~1) ) * uvlinesize << 2; }