0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

array was not correctly initialized

use of char* since it avoids wasting memory
  (4+stringsize bytes instead of 128)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2303 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pl 2001-10-20 11:14:57 +00:00
parent 690490f7d0
commit 746b9acfb6

View File

@ -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, \
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 @@ static const char cpuname
#undef N_UNKNOWNEXT
#undef N_UNKNOWN
#undef M_UNKNOWN
#undef F_UNKNOWN
static const struct {