[Mplayer-cvslog] CVS: main/libvo vo_vesa.c,1.25,1.26

Nick Kurshev nick at mplayer.dev.hu
Tue Oct 30 17:17:41 CET 2001


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv31823/main/libvo

Modified Files:
	vo_vesa.c 
Log Message:
Cosmetic

Index: vo_vesa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_vesa.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- vo_vesa.c	29 Oct 2001 18:25:07 -0000	1.25
+++ vo_vesa.c	30 Oct 2001 16:17:38 -0000	1.26
@@ -450,17 +450,16 @@
 	num_modes = 0;
 	mode_ptr = vib.VideoModePtr;
 	while(*mode_ptr++ != 0xffff) num_modes++;
-	yuv_fmt = format == IMGFMT_YV12 || format == IMGFMT_I420 || format == IMGFMT_IYUV;
 	switch(format)
 	{
 		case IMGFMT_BGR8:
 		case IMGFMT_RGB8:  bpp = 8; break;
 		case IMGFMT_BGR15:
                 case IMGFMT_RGB15: bpp = 15; break;
-		default:
 		case IMGFMT_YV12:
 		case IMGFMT_I420:
-		case IMGFMT_IYUV:
+		case IMGFMT_IYUV: yuv_fmt = 1;
+		default:
 		case IMGFMT_BGR16:
 		case IMGFMT_RGB16: bpp = 16; break;
 		case IMGFMT_BGR24:




More information about the MPlayer-cvslog mailing list