From 4648789ea45e407541864772bb40963b65dcb096 Mon Sep 17 00:00:00 2001 From: waker Date: Tue, 18 Aug 2009 19:56:34 +0200 Subject: fixed some more errors in streamer and mp3 decoder --- streamer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'streamer.c') diff --git a/streamer.c b/streamer.c index 7b6216e9..65a9f006 100644 --- a/streamer.c +++ b/streamer.c @@ -140,7 +140,7 @@ streamer_thread (uintptr_t ctx) { } streamer_lock (); - if (streambuffer_fill < STREAM_BUFFER_SIZE) { + if (streambuffer_fill < STREAM_BUFFER_SIZE && bytes_until_next_song == 0) { int sz = STREAM_BUFFER_SIZE - streambuffer_fill; int minsize = 4096; if (streambuffer_fill < 16384) { -- cgit v1.2.3