# HG changeset patch # User michael # Date 1203708442 0 # Node ID c6c5bcca56d9b97c7181376c4bf5bcc9f404f4dc # Parent 922774d1fb9c4014119243b4c7e6cd69f5bc3668 Remove apparently unneeded and buggy align. diff -r 922774d1fb9c -r c6c5bcca56d9 utils.c --- a/utils.c Fri Feb 22 16:53:26 2008 +0000 +++ b/utils.c Fri Feb 22 19:27:22 2008 +0000 @@ -288,16 +288,9 @@ ff_fill_linesize(&picture, s->pix_fmt, w); - for (i=1; i<4; i++) + for (i=0; i<4; i++) picture.linesize[i] = ALIGN(picture.linesize[i], STRIDE_ALIGN); - /* next ensures that linesize= 2^x uvlinesize, that is needed because - * some MC code assumes it */ - if (picture.linesize[1]) - picture.linesize[0] = ALIGN(picture.linesize[0], picture.linesize[1]); - else - picture.linesize[0] = ALIGN(picture.linesize[0], STRIDE_ALIGN); - tmpsize = ff_fill_pointer(&picture, NULL, s->pix_fmt, h); for (i=0; i<3 && picture.data[i+1]; i++)