From 6704a8e57d669e7fdf12992dcf496c848f42b262 Mon Sep 17 00:00:00 2001 From: arch1t3cht Date: Wed, 8 Feb 2023 17:41:31 +0100 Subject: [PATCH] avisynth: Remove file access checks These are broken in some edge cases, such as smb mounts on Windows. Paired with d96fc1f70da9e0b01b394ebf25083949a0da759c. --- src/audio_provider_avs.cpp | 1 - src/video_provider_avs.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/audio_provider_avs.cpp b/src/audio_provider_avs.cpp index fff0ed823..b5b1d0916 100644 --- a/src/audio_provider_avs.cpp +++ b/src/audio_provider_avs.cpp @@ -148,7 +148,6 @@ void AvisynthAudioProvider::FillBuffer(void *buf, int64_t start, int64_t count) } std::unique_ptr CreateAvisynthAudioProvider(agi::fs::path const& file, agi::BackgroundRunner *) { - agi::acs::CheckFileRead(file); return agi::make_unique(file); } #endif diff --git a/src/video_provider_avs.cpp b/src/video_provider_avs.cpp index 263310675..0c824f264 100644 --- a/src/video_provider_avs.cpp +++ b/src/video_provider_avs.cpp @@ -324,7 +324,6 @@ void AvisynthVideoProvider::GetFrame(int n, VideoFrame &out) { namespace agi { class BackgroundRunner; } std::unique_ptr CreateAvisynthVideoProvider(agi::fs::path const& path, std::string const& colormatrix, agi::BackgroundRunner *) { - agi::acs::CheckFileRead(path); return agi::make_unique(path, colormatrix); } #endif // HAVE_AVISYNTH