diff options
author | Gerd Knorr <devnull@localhost> | 2004-07-15 18:29:35 +0000 |
---|---|---|
committer | Gerd Knorr <devnull@localhost> | 2004-07-15 18:29:35 +0000 |
commit | a43144ada64f80f38143344df0e2fc3f9249570f (patch) | |
tree | 3c33074329fa747d23d739fb183bb124fa7f53dc /linux/drivers/media/video | |
parent | 896fdaa684048f15d95ea263c19b3d4d6e500c8d (diff) | |
download | mediapointer-dvb-s2-a43144ada64f80f38143344df0e2fc3f9249570f.tar.gz mediapointer-dvb-s2-a43144ada64f80f38143344df0e2fc3f9249570f.tar.bz2 |
- bttv: alignment fix.
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/bttv-driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 = |