aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/_flac_common.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-12-17 16:46:12 +0100
committerMax Kellermann <max@duempel.org>2008-12-17 16:46:12 +0100
commit5d56b6ced841915d5ffe150c960cf855f358a02c (patch)
tree60cb9c04cc33f6d4e94d14265fdce520b7f14d27 /src/decoder/_flac_common.c
parent13192546a8386d91cac9045e86566906c220f3f6 (diff)
downloadmpd-5d56b6ced841915d5ffe150c960cf855f358a02c.tar.gz
mpd-5d56b6ced841915d5ffe150c960cf855f358a02c.tar.xz
mpd-5d56b6ced841915d5ffe150c960cf855f358a02c.zip
player_control: check if errored_song is set
getPlayerErrorStr() assumes that pc.errored_song is set when an error occured. Since the song may have been deleted meanwhile, add a NULL check.
Diffstat (limited to 'src/decoder/_flac_common.c')
0 files changed, 0 insertions, 0 deletions