aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_curl.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-27 10:10:40 +0100
committerMax Kellermann <max@duempel.org>2008-10-27 10:10:40 +0100
commit4a71f66256d02c46bc2bb3665cc6451a2101d5ac (patch)
tree4eeb79b8e8a084a22e681a269387814a8698c033 /src/input_curl.c
parent0d30d51f07f1c55caf974c671fa702307c163878 (diff)
downloadmpd-4a71f66256d02c46bc2bb3665cc6451a2101d5ac.tar.gz
mpd-4a71f66256d02c46bc2bb3665cc6451a2101d5ac.tar.xz
mpd-4a71f66256d02c46bc2bb3665cc6451a2101d5ac.zip
player: reset pc.command when decoder startup fails
When the decoder failed to start, the function do_play() returned, still having pc.command==PLAY. This is because pc.command was reset only when the decoder started up successfully. Add another player_command_finished() call in the error handler.
Diffstat (limited to 'src/input_curl.c')
0 files changed, 0 insertions, 0 deletions