aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:03 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:03 +0200
commit180d78a8e631cb4d48ef468709099a8c43d7ef51 (patch)
tree78677bc75dfec787c3a80ac58bb44d4916f493e1
parentd507ff28c8ae18d4a17c8565de723fb522d2473d (diff)
downloadmpd-180d78a8e631cb4d48ef468709099a8c43d7ef51.tar.gz
mpd-180d78a8e631cb4d48ef468709099a8c43d7ef51.tar.xz
mpd-180d78a8e631cb4d48ef468709099a8c43d7ef51.zip
don't set pc->errored_song in decodeStart()
pc->errored_song is already set by decodeParent() in the player thread when we set dc->error; no need to set it in the decoder thread.
-rw-r--r--src/decode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index 00ab157b1..467dc68cb 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -307,7 +307,6 @@ static void decodeStart(void)
}
if (ret < 0 || ret == DECODE_ERROR_UNKTYPE) {
- pc.errored_song = dc.next_song;
if (ret != DECODE_ERROR_UNKTYPE)
dc.error = DECODE_ERROR_FILE;
else