[Mplayer-cvslog] CVS: main/libvo vo_fbdev.c,1.24,1.25

Szabolcs Berecz szabii at users.sourceforge.net
Mon Apr 16 22:41:43 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory usw-pr-cvs1:/tmp/cvs-serv30820

Modified Files:
	vo_fbdev.c 
Log Message:
small change

Index: vo_fbdev.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_fbdev.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** vo_fbdev.c	2001/04/14 22:49:35	1.24
--- vo_fbdev.c	2001/04/16 20:41:41	1.25
***************
*** 411,415 ****
  static void set_bpp(struct fb_var_screeninfo *p, int bpp)
  {
! 	p->bits_per_pixel = (bpp == 15) ? 16 : bpp;
  	p->red.msb_right = p->green.msb_right = p->blue.msb_right = 0;
  	switch (bpp) {
--- 411,416 ----
  static void set_bpp(struct fb_var_screeninfo *p, int 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) {


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list