[Mplayer-cvslog] CVS: main cpudetect.c,1.30,1.31

Atmosfear atmos4 at mplayerhq.hu
Sun Sep 28 03:46:22 CEST 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv19633

Modified Files:
	cpudetect.c 
Log Message:
more exact cpu mhz detect for fats cpus (remove rounding)

Index: cpudetect.c
===================================================================
RCS file: /cvsroot/mplayer/main/cpudetect.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- cpudetect.c	19 Sep 2003 23:52:41 -0000	1.30
+++ cpudetect.c	28 Sep 2003 01:45:54 -0000	1.31
@@ -257,7 +257,7 @@
 			i += 50; /* for rounding */
 			snprintf(cpuspeed,15, " %d.%d MHz", i/1000, (i/100)%10);
 		} else {
-			i += 500; /* for rounding */
+			//i += 500; /* for rounding */
 			snprintf(cpuspeed,15, " %d MHz", i/1000);
 		}
 	} else { /* No TSC Support */



More information about the MPlayer-cvslog mailing list