diff options
author | Max Kellermann <max@duempel.org> | 2009-01-29 21:39:29 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-29 21:39:29 +0100 |
commit | 36ca114629d8e9bef2faff3716ccdf8f7641fd10 (patch) | |
tree | 688ec8b290493a04c0bbb80e3054d64ca954956b /src/pcm_channels.c | |
parent | d1b3377f4a7d3a8c6a6e22581c7d5e67ed9bb353 (diff) | |
download | mpd-36ca114629d8e9bef2faff3716ccdf8f7641fd10.tar.gz mpd-36ca114629d8e9bef2faff3716ccdf8f7641fd10.tar.xz mpd-36ca114629d8e9bef2faff3716ccdf8f7641fd10.zip |
player_control: reset pc.error if pc.errored_song is cleared
When the playlist is cleared, pc.errored_song is also cleared. This
causes pc_errored_song_uri() to crash, because it assumes that
pc.errored_song is set. Reset pc.error to fix that assumption.
Diffstat (limited to 'src/pcm_channels.c')
0 files changed, 0 insertions, 0 deletions