Mercurial > mplayer.hg
changeset 476:1897ed6661bf
small change
author | szabii |
---|---|
date | Mon, 16 Apr 2001 20:41:41 +0000 |
parents | 904d1cfda2dd |
children | a1ceb65cf6ab |
files | libvo/vo_fbdev.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_fbdev.c Mon Apr 16 17:19:28 2001 +0000 +++ b/libvo/vo_fbdev.c Mon Apr 16 20:41:41 2001 +0000 @@ -410,7 +410,8 @@ static void set_bpp(struct fb_var_screeninfo *p, int bpp) { - p->bits_per_pixel = (bpp == 15) ? 16 : bpp; +/* p->bits_per_pixel = (bpp == 15) ? 16 : bpp; */ + p->bits_per_pixel = (bpp + 1) & ~1; p->red.msb_right = p->green.msb_right = p->blue.msb_right = 0; switch (bpp) { case 32: