Commit 180d78a8 authored by Max Kellermann's avatar Max Kellermann

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.
parent d507ff28
...@@ -307,7 +307,6 @@ static void decodeStart(void) ...@@ -307,7 +307,6 @@ static void decodeStart(void)
} }
if (ret < 0 || ret == DECODE_ERROR_UNKTYPE) { if (ret < 0 || ret == DECODE_ERROR_UNKTYPE) {
pc.errored_song = dc.next_song;
if (ret != DECODE_ERROR_UNKTYPE) if (ret != DECODE_ERROR_UNKTYPE)
dc.error = DECODE_ERROR_FILE; dc.error = DECODE_ERROR_FILE;
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment