[MPlayer-cvslog] r22043 - trunk/vidix/drivers/sis_vid.c

faust3 subversion at mplayerhq.hu
Sun Jan 28 15:48:15 CET 2007


Author: faust3
Date: Sun Jan 28 15:48:14 2007
New Revision: 22043

Modified:
   trunk/vidix/drivers/sis_vid.c

Log:
10l: screen_height calculation was using an uninitialized variable

Modified: trunk/vidix/drivers/sis_vid.c
==============================================================================
--- trunk/vidix/drivers/sis_vid.c	(original)
+++ trunk/vidix/drivers/sis_vid.c	Sun Jan 28 15:48:14 2007
@@ -365,7 +365,7 @@
     inSISIDXREG(SISCR, 0x07, cr_data2);
     sis_screen_height =
 	((cr_data & 0xff) | ((uint16_t) (cr_data2 & 0x02) << 7) |
-	 ((uint16_t) (cr_data2 & 0x40) << 3) | ((uint16_t) (sr_data & 0x02)
+	 ((uint16_t) (cr_data2 & 0x40) << 3) | ((uint16_t) (cr_data & 0x02)
 						<< 9)) + 1;
 
     inSISIDXREG(SISSR, 0x0b, sr_data);



More information about the MPlayer-cvslog mailing list