summaryrefslogtreecommitdiffstats
path: root/lib/stream.lib.php
diff options
context:
space:
mode:
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 4668ee92..37674d7b 100644
--- a/lib/stream.lib.php
+++ b/lib/stream.lib.php
@@ -250,7 +250,7 @@ function start_downsample($song,$now_playing_id=0,$song_name=0) {
log_event($GLOBALS['user']->username,' downsample ',$message);
} // if debug
- $fp = @popen($downsample_command, 'r');
+ $fp = @popen($downsample_command, 'rb');
/* We need more than just the handle here */
$return_array['handle'] = $fp;