diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:03 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:03 +0200 |
commit | 180d78a8e631cb4d48ef468709099a8c43d7ef51 (patch) | |
tree | 78677bc75dfec787c3a80ac58bb44d4916f493e1 /src/decode.c | |
parent | d507ff28c8ae18d4a17c8565de723fb522d2473d (diff) | |
download | mpd-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.
Diffstat (limited to '')
-rw-r--r-- | src/decode.c | 1 |
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 |