From 5303ca008e760e4e4707c0816449fb83f278426b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 29 Nov 2022 17:54:12 +0100 Subject: Matrix: set filesize limit to int64 and remove 300mb limit for non-image files --- include/FileAnalyzer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/FileAnalyzer.hpp b/include/FileAnalyzer.hpp index 4ae95ff..7be154f 100644 --- a/include/FileAnalyzer.hpp +++ b/include/FileAnalyzer.hpp @@ -56,7 +56,7 @@ namespace QuickMedia { const std::string& get_filepath() const; ContentType get_content_type() const; - size_t get_file_size() const; + int64_t get_file_size() const; std::optional get_dimensions() const; std::optional get_duration_seconds() const; private: @@ -65,7 +65,7 @@ namespace QuickMedia { private: std::string filepath; ContentType content_type; - size_t file_size; + int64_t file_size; std::optional dimensions; std::optional duration_seconds; bool loaded; -- cgit v1.2.3