diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-03-16 06:41:48 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-03-16 06:41:48 +0000 |
commit | d7e846bdc2d848525ebd4251c4c5d9c5fe0d2705 (patch) | |
tree | 365df35512ce06651e590ee88a6ce3f3239afc8a /src/playerData.c | |
parent | 97e355e362da6cfe1e2c2245ba803b7468673c75 (diff) | |
download | mpd-d7e846bdc2d848525ebd4251c4c5d9c5fe0d2705.tar.gz mpd-d7e846bdc2d848525ebd4251c4c5d9c5fe0d2705.tar.xz mpd-d7e846bdc2d848525ebd4251c4c5d9c5fe0d2705.zip |
fix some uninitialized variables (found by valgrind)
git-svn-id: https://svn.musicpd.org/mpd/trunk@3925 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/playerData.c')
-rw-r--r-- | src/playerData.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/playerData.c b/src/playerData.c index 060227f4b..cbf18ff9f 100644 --- a/src/playerData.c +++ b/src/playerData.c @@ -131,6 +131,7 @@ void initPlayerData() { buffered_chunks*sizeof(mpd_sint16)); buffer->times = (float *)(((char *)buffer->metaChunk)+ buffered_chunks*sizeof(mpd_sint8)); + buffer->acceptMetadata = 0; playerData_pd->playerControl.stop = 0; playerData_pd->playerControl.pause = 0; @@ -142,6 +143,7 @@ void initPlayerData() { playerData_pd->playerControl.queueState = PLAYER_QUEUE_BLANK; playerData_pd->playerControl.queueLockState = PLAYER_QUEUE_UNLOCKED; playerData_pd->playerControl.seek = 0; + playerData_pd->playerControl.closeAudio = 0; memset(playerData_pd->playerControl.utf8url, 0, MAXPATHLEN+1); memset(playerData_pd->playerControl.erroredUrl, 0, MAXPATHLEN+1); memset(playerData_pd->playerControl.currentUrl, 0, MAXPATHLEN+1); |