mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
vapoursynth: Remove file access checks
These are broken in some edge cases, such as smb mounts on Windows. Paired with d96fc1f70da9e0b01b394ebf25083949a0da759c.
This commit is contained in:
parent
628d740108
commit
097a0f45be
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user