aboutsummaryrefslogtreecommitdiff
path: root/xbmc/filesystem/File.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/filesystem/File.cpp')
-rw-r--r--xbmc/filesystem/File.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/filesystem/File.cpp b/xbmc/filesystem/File.cpp
index fe1e60c090..cfea9ac4a1 100644
--- a/xbmc/filesystem/File.cpp
+++ b/xbmc/filesystem/File.cpp
@@ -386,6 +386,9 @@ bool CFile::Open(const CURL& file, const unsigned int flags)
bool CFile::ShouldUseStreamBuffer(const CURL& url)
{
+ if (m_flags & READ_NO_BUFFER)
+ return false;
+
if (m_flags & READ_CHUNKED || m_pFile->GetChunkSize() > 0)
return true;