aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/player_thread.c')
-rw-r--r--src/player_thread.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index 391e6f4d4..61095cc53 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -133,7 +133,10 @@ static bool player_seek_decoder(struct player *player)
player->next_song_chunk = -1;
music_pipe_clear();
dc_start_async(pc.next_song);
- player_wait_for_decoder(player);
+
+ ret = player_wait_for_decoder(player);
+ if (!ret)
+ return false;
}
where = pc.seek_where;