aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthexai <58434170+thexai@users.noreply.github.com>2024-02-20 12:18:59 +0100
committerGitHub <noreply@github.com>2024-02-20 12:18:59 +0100
commite085b62f103a3714a0efcc8ead1bd498bb92fcdd (patch)
tree9f9e8fffd012ffaf825adef9d1784950a450409a
parent511d828268122060b01023c99912859eecfb17a0 (diff)
parenta0f5136c1392b7e2a5890445aa9b61189863b97c (diff)
Merge pull request #24733 from thexai/fix-stream-buffer
[FileSystem] Fix: not use CFileStreamBuffer in all network files
-rw-r--r--xbmc/filesystem/File.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/xbmc/filesystem/File.cpp b/xbmc/filesystem/File.cpp
index f7f228f65a..fe1e60c090 100644
--- a/xbmc/filesystem/File.cpp
+++ b/xbmc/filesystem/File.cpp
@@ -393,9 +393,6 @@ bool CFile::ShouldUseStreamBuffer(const CURL& url)
if (m_pFile->GetLength() > 200 * 1024 * 1024 && !URIUtils::IsDVD(url.GetShareName()))
return true;
- if (URIUtils::IsNetworkFilesystem(url.Get()))
- return true;
-
return false;
}