From 180d78a8e631cb4d48ef468709099a8c43d7ef51 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:03 +0200 Subject: 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. --- src/decode.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3