forked from mia/Aegisub
avisynth: 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:
parent
f5a730fa45
commit
6704a8e57d
2 changed files with 0 additions and 2 deletions
|
@ -148,7 +148,6 @@ void AvisynthAudioProvider::FillBuffer(void *buf, int64_t start, int64_t count)
|
|||
}
|
||||
|
||||
std::unique_ptr<agi::AudioProvider> CreateAvisynthAudioProvider(agi::fs::path const& file, agi::BackgroundRunner *) {
|
||||
agi::acs::CheckFileRead(file);
|
||||
return agi::make_unique<AvisynthAudioProvider>(file);
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -324,7 +324,6 @@ void AvisynthVideoProvider::GetFrame(int n, VideoFrame &out) {
|
|||
|
||||
namespace agi { class BackgroundRunner; }
|
||||
std::unique_ptr<VideoProvider> CreateAvisynthVideoProvider(agi::fs::path const& path, std::string const& colormatrix, agi::BackgroundRunner *) {
|
||||
agi::acs::CheckFileRead(path);
|
||||
return agi::make_unique<AvisynthVideoProvider>(path, colormatrix);
|
||||
}
|
||||
#endif // HAVE_AVISYNTH
|
||||
|
|
Loading…
Reference in a new issue