summaryrefslogtreecommitdiffstats
path: root/lib/stream.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-10-12 20:50:26 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-10-12 20:50:26 +0000
commit959c7b7a13c51aea549523f134d6ef526e3b977c (patch)
tree73c0e633c68fc95a4225a97d4444bc6e34131fff /lib/stream.lib.php
parente8785ed7554839db296d7b8d8f9a938ed0758d70 (diff)
downloadampache-959c7b7a13c51aea549523f134d6ef526e3b977c.tar.gz
ampache-959c7b7a13c51aea549523f134d6ef526e3b977c.tar.bz2
ampache-959c7b7a13c51aea549523f134d6ef526e3b977c.zip
fixed up some minor formating errors, and also the preferences mojo see changelog for details
Diffstat (limited to 'lib/stream.lib.php')
-rw-r--r--lib/stream.lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.lib.php b/lib/stream.lib.php
index 90177c49..18b4562f 100644
--- a/lib/stream.lib.php
+++ b/lib/stream.lib.php
@@ -287,7 +287,7 @@ function validate_bitrate($bitrate) {
$next_key = $key+1;
if ($sample_rate > $rate AND $sample_rate < $valid_rate[$next_key]) {
- return $sample_rate;
+ return $rate;
}
} // end foreach