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.
This commit is contained in:
Max Kellermann 2008-08-26 08:27:03 +02:00
parent d507ff28c8
commit 180d78a8e6

View File

@ -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