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:
parent
d507ff28c8
commit
180d78a8e6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user