aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/IO/ProgressStream.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-03-31 12:45:15 -0400
committerLuke <luke.pulverenti@gmail.com>2016-03-31 12:45:15 -0400
commit4f6c50244b9547601e4a2da891090e4a9fd5cb23 (patch)
tree30252268405738fc3d01b45ee99330093efc79df /MediaBrowser.Common/IO/ProgressStream.cs
parent0be3fdc062ab218ba5702f065b4bee565850c402 (diff)
parente61014aa881c0720a9b3a3f9bddab702ddd44671 (diff)
Merge pull request #1613 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Common/IO/ProgressStream.cs')
-rw-r--r--MediaBrowser.Common/IO/ProgressStream.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Common/IO/ProgressStream.cs b/MediaBrowser.Common/IO/ProgressStream.cs
index d41c715d9..468b3d345 100644
--- a/MediaBrowser.Common/IO/ProgressStream.cs
+++ b/MediaBrowser.Common/IO/ProgressStream.cs
@@ -147,7 +147,7 @@ namespace MediaBrowser.Common.IO
BytesProcessed += read;
double percent = BytesProcessed;
- percent /= (ReadLength ?? BaseStream.Length);
+ percent /= ReadLength ?? BaseStream.Length;
percent *= 100;
ProgressAction(percent);