Skip to content

Commit

Permalink
Merge pull request xbmc#24733 from thexai/fix-stream-buffer
Browse files Browse the repository at this point in the history
[FileSystem] Fix: not use CFileStreamBuffer in all network files
  • Loading branch information
thexai authored Feb 20, 2024
2 parents 511d828 + a0f5136 commit e085b62
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions xbmc/filesystem/File.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e085b62

Please sign in to comment.