From a43144ada64f80f38143344df0e2fc3f9249570f Mon Sep 17 00:00:00 2001 From: Gerd Knorr Date: Thu, 15 Jul 2004 18:29:35 +0000 Subject: - bttv: alignment fix. --- linux/drivers/media/video/bttv-driver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux/drivers/media/video/bttv-driver.c b/linux/drivers/media/video/bttv-driver.c index 43106dcba..ba7282bc1 100644 --- a/linux/drivers/media/video/bttv-driver.c +++ b/linux/drivers/media/video/bttv-driver.c @@ -2054,6 +2054,7 @@ static int bttv_try_fmt(struct bttv_fh *fh, struct bttv *btv, f->fmt.pix.width = maxw; if (f->fmt.pix.height > maxh) f->fmt.pix.height = maxh; + f->fmt.pix.width &= ~0x03; f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; f->fmt.pix.sizeimage = -- cgit v1.2.3