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 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/decode.c b/src/decode.c
index 00ab157..467dc68 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


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Musicpd-dev-team mailing list
Musicpd-dev-team@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team

Reply via email to