summaryrefslogtreecommitdiff
path: root/streamer.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-09-29 20:42:46 +0200
committerGravatar waker <wakeroid@gmail.com>2011-09-29 20:42:46 +0200
commit67e0b16133168fda24f6bbe5899583e22a37a58a (patch)
tree11168bbe02a3bedfe5d50b5909a76673ed720bc6 /streamer.c
parentdc25cec68337330d8d40de84c8081d07184ee519 (diff)
fixed aac_read to avoid mp4ff_read_sample calls after EOF
Diffstat (limited to 'streamer.c')
-rw-r--r--streamer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/streamer.c b/streamer.c
index 8496b092..5b3519a5 100644
--- a/streamer.c
+++ b/streamer.c
@@ -1828,7 +1828,7 @@ streamer_read_async (char *bytes, int size) {
}
else {
// that means EOF
-// trace ("streamer: EOF! buns: %d, bytesread: %d, buffering: %d, bufferfill: %d\n", bytes_until_next_song, bytesread, streamer_buffering, streamer_ringbuf.remaining);
+ // trace ("streamer: EOF! buns: %d, bytesread: %d, buffering: %d, bufferfill: %d\n", bytes_until_next_song, bytesread, streamer_buffering, streamer_ringbuf.remaining);
// in case of decoder error, or EOF while buffering - switch to next song instantly
if (bytesread < 0 || (bytes_until_next_song >= 0 && streamer_buffering && bytesread == 0) || bytes_until_next_song < 0) {