mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 04:58:06 +00: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:
parent
690490f7d0
commit
746b9acfb6
25
cputable.h
25
cputable.h
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user