aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--src/input/curl_input_plugin.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 46f85ec0..b3231a67 100644
--- a/NEWS
+++ b/NEWS
@@ -47,6 +47,7 @@ ver 0.16 (20??/??/??)
ver 0.15.5 (2009/??/??)
* input:
- curl: don't abort if a packet has only metadata
+ - curl: fixed endless loop during buffering
* tags:
- riff, aiff: fixed "limited range" gcc warning
* decoder_thread: change the fallback decoder name to "mad"
diff --git a/src/input/curl_input_plugin.c b/src/input/curl_input_plugin.c
index 6cd2bc91..c3928a09 100644
--- a/src/input/curl_input_plugin.c
+++ b/src/input/curl_input_plugin.c
@@ -310,7 +310,7 @@ fill_buffer(struct input_stream *is)
return false;
}
- return true;
+ return !g_queue_is_empty(c->buffers);
}
/**