vapoursynth: Remove file access checks

These are broken in some edge cases, such as smb mounts on Windows.
Paired with d96fc1f70d.
This commit is contained in:
arch1t3cht 2023-02-08 17:40:07 +01:00
parent 628d740108
commit 097a0f45be
2 changed files with 0 additions and 2 deletions

View File

@ -165,7 +165,6 @@ VapoursynthAudioProvider::~VapoursynthAudioProvider() {
}
std::unique_ptr<agi::AudioProvider> CreateVapoursynthAudioProvider(agi::fs::path const& file, agi::BackgroundRunner *) {
agi::acs::CheckFileRead(file);
return agi::make_unique<VapoursynthAudioProvider>(file);
}
#endif

View File

@ -358,7 +358,6 @@ VapoursynthVideoProvider::~VapoursynthVideoProvider() {
namespace agi { class BackgroundRunner; }
std::unique_ptr<VideoProvider> CreateVapoursynthVideoProvider(agi::fs::path const& path, std::string const& colormatrix, agi::BackgroundRunner *br) {
agi::acs::CheckFileRead(path);
return agi::make_unique<VapoursynthVideoProvider>(path, colormatrix, br);
}
#endif // WITH_VAPOURSYNTH