summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/player.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c
index 46c3fff..abbd5c7 100644
--- a/src/player.c
+++ b/src/player.c
@@ -449,7 +449,8 @@ void *BarPlayerThread (void *data) {
snprintf (extraHeaders, sizeof (extraHeaders), "Range: bytes=%u-\r\n",
player->bytesReceived);
wRet = WaitressFetchCall (&player->waith);
- } while (wRet == WAITRESS_RET_PARTIAL_FILE);
+ } while (wRet == WAITRESS_RET_PARTIAL_FILE ||
+ wRet == WAITRESS_RET_TIMEOUT);
switch (player->audioFormat) {
#ifdef ENABLE_FAAD