commit 13e9b7163429cb90fb8e641b099e116ab9f6b0d6 parent 12472ed42c4da08941f6f3024c1490187af67bbb Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Sun, 19 May 2024 17:57:38 +0200 increase file size limit for patch scanner to 8 MB Diffstat:
M | source/jucePluginLib/patchdb/db.cpp | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source/jucePluginLib/patchdb/db.cpp b/source/jucePluginLib/patchdb/db.cpp @@ -739,8 +739,8 @@ namespace pluginLib::patchDB { const auto size = synthLib::getFileSize(_file); - // unlikely that a 4mb file has useful data for us, skip - if (!size || size >= static_cast<size_t>(4 * 1024 * 1024)) + // unlikely that a 8mb file has useful data for us, skip + if (!size || size >= static_cast<size_t>(8 * 1024 * 1024)) return false; Data data;