[Mplayer-cvslog] CVS: main/libvo vo_fbdev.c,1.3,1.4

Szabolcs Berecz szabii at users.sourceforge.net
Wed Mar 28 20:07:27 CEST 2001


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

Modified Files:
	vo_fbdev.c 
Log Message:
small fix

Index: vo_fbdev.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_fbdev.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** vo_fbdev.c	2001/03/28 18:01:16	1.3
--- vo_fbdev.c	2001/03/28 18:07:24	1.4
***************
*** 277,288 ****
  				in_width, in_width / 2);
  	} else if ((pixel_format & IMGFMT_BGR_MASK) == IMGFMT_BGR) {
! 		int i;
! 		uint8_t *dst = next_frame;
! 		uint8_t *s = src[0];
! 		for (i = 0; i < in_height; i++) {
! 			memcpy(dst, s, in_width * (fb_bpp / 8));
! 			dst += in_width * (fb_bpp / 8);
! 			s += in_width * (fb_bpp / 8);
! 		}
  	} else if ((pixel_format & IMGFMT_RGB_MASK) == IMGFMT_RGB) {
  	}
--- 277,281 ----
  				in_width, in_width / 2);
  	} else if ((pixel_format & IMGFMT_BGR_MASK) == IMGFMT_BGR) {
! 		memcpy(next_frame, src[0], in_width * in_height * (fb_bpp / 8));
  	} else if ((pixel_format & IMGFMT_RGB_MASK) == IMGFMT_RGB) {
  	}


_______________________________________________
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