[Mplayer-cvslog] CVS: main cputable.h,1.1,1.2

pl pl at mplayer.dev.hu
Sat Oct 20 13:15:14 CEST 2001


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

Modified Files:
	cputable.h 
Log Message:
array was not correctly initialized
use of char* since it avoids wasting memory
  (4+stringsize bytes instead of 128)


Index: cputable.h
===================================================================
RCS file: /cvsroot/mplayer/main/cputable.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cputable.h	20 Oct 2001 02:35:31 -0000	1.1
+++ cputable.h	20 Oct 2001 11:14:57 -0000	1.2
@@ -10,7 +10,7 @@
 #define N_UNKNOWN "" 
 #define N_UNKNOWNEXT ""
 
-#define M_UNKNOWN { \
+#define F_UNKNOWN { \
 N_UNKNOWN, \
 N_UNKNOWN, \
 N_UNKNOWN, \
@@ -29,30 +29,10 @@
 N_UNKNOWN \
 }
 
-#define F_UNKNOWN { \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN, \
-M_UNKNOWN \
-}
-
-static const char cpuname
+static const char *cpuname
 		/* Vendor */ [MAX_VENDORS]
 			/* Family */ [16]
 				/* Model  */ [16]
-					/* Name   */ [128]
 	={
 		/* Intel Corporation, "GenuineIntel" */ {
 			/* 0 */ F_UNKNOWN, 
@@ -476,7 +456,6 @@
 
 #undef N_UNKNOWNEXT
 #undef N_UNKNOWN
-#undef M_UNKNOWN
 #undef F_UNKNOWN
 
 static const struct {




More information about the MPlayer-cvslog mailing list