diff options
author | thexai <58434170+thexai@users.noreply.github.com> | 2024-02-20 12:18:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 12:18:59 +0100 |
commit | e085b62f103a3714a0efcc8ead1bd498bb92fcdd (patch) | |
tree | 9f9e8fffd012ffaf825adef9d1784950a450409a | |
parent | 511d828268122060b01023c99912859eecfb17a0 (diff) | |
parent | a0f5136c1392b7e2a5890445aa9b61189863b97c (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.cpp | 3 |
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; } |