Fix the undefined reference to `playerInitReal'
git-svn-id: https://svn.musicpd.org/mpd/trunk@4343 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -33,7 +33,7 @@ int buffered_chunks;
|
||||
#define DEFAULT_BUFFER_SIZE 2048
|
||||
#define DEFAULT_BUFFER_BEFORE_PLAY 0
|
||||
|
||||
PlayerData * playerData_pd;
|
||||
static PlayerData * playerData_pd;
|
||||
int * player_pid;
|
||||
|
||||
void initPlayerData() {
|
||||
@@ -152,7 +152,7 @@ void initPlayerData() {
|
||||
playerData_pd->playerControl.totalPlayTime = 0;
|
||||
playerData_pd->playerControl.decode_pid = 0;
|
||||
playerData_pd->playerControl.metadataState =
|
||||
PLAYER_METADATA_STATE_WRITE;
|
||||
PLAYER_METADATA_STATE_WRITE;
|
||||
|
||||
playerData_pd->decoderControl.stop = 0;
|
||||
playerData_pd->decoderControl.start = 0;
|
||||
|
||||
Reference in New Issue
Block a user