summaryrefslogtreecommitdiffstats
path: root/play/index.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-07 14:26:53 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-05-07 14:26:53 +0000
commit7715ec7cf0ec34ef7c540ff9921d2fde4ce7ff9b (patch)
tree56f31ceb8213aab7ba1c4e72fa915960cf041235 /play/index.php
parentc0455678c1f6644801e5c25cb07510e49db7b28d (diff)
downloadampache-7715ec7cf0ec34ef7c540ff9921d2fde4ce7ff9b.tar.gz
ampache-7715ec7cf0ec34ef7c540ff9921d2fde4ce7ff9b.tar.bz2
ampache-7715ec7cf0ec34ef7c540ff9921d2fde4ce7ff9b.zip
copying over the half-way not counting fix if you seek
Diffstat (limited to 'play/index.php')
-rw-r--r--play/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php
index 694eea71..895a5de3 100644
--- a/play/index.php
+++ b/play/index.php
@@ -242,7 +242,7 @@ else {
* we count it in the statistics
* @author SH
*/
-$bytesStreamed = 0;
+$bytesStreamed = $start;
$minBytesStreamed = $song->size / 2;
while (!feof($fp) && (connection_status() == 0)) {
$buf = fread($fp, 8192);