memset erroredFile to 0
git-svn-id: https://svn.musicpd.org/mpd/trunk@127 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
e742f2be2c
commit
ce2c6845a2
|
@ -104,6 +104,7 @@ void initPlayerData() {
|
|||
playerData_pd->playerControl.queueLockState = PLAYER_QUEUE_UNLOCKED;
|
||||
playerData_pd->playerControl.seek = 0;
|
||||
memset(playerData_pd->playerControl.file,0,MAXPATHLEN+1);
|
||||
memset(playerData_pd->playerControl.erroredFile,0,MAXPATHLEN+1);
|
||||
playerData_pd->playerControl.crossFade = crossfade;
|
||||
playerData_pd->playerControl.softwareVolume = 100;
|
||||
playerData_pd->playerControl.totalPlayTime = 0;
|
||||
|
|
Loading…
Reference in New Issue