Loading plugins/media/media.cpp +2 −0 Changes for plugins/media/media.cpp: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -1768,6 +1768,8 @@ namespace blogi { bool _isSizeAllowed(int w, int h){ if(w == 0 && h == 0) return true; // Always allow small thumbnail sizes used by the internal browser if(w > 0 && w <= 200 && h >= 0 && h <= 200) return true; std::lock_guard<std::mutex> lock(_sizesMutex); for(const auto &s : _allowedSizes){ if(w > 0 && h > 0){ Loading Loading
plugins/media/media.cpp +2 −0 Changes for plugins/media/media.cpp: 2 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -1768,6 +1768,8 @@ namespace blogi { bool _isSizeAllowed(int w, int h){ if(w == 0 && h == 0) return true; // Always allow small thumbnail sizes used by the internal browser if(w > 0 && w <= 200 && h >= 0 && h <= 200) return true; std::lock_guard<std::mutex> lock(_sizesMutex); for(const auto &s : _allowedSizes){ if(w > 0 && h > 0){ Loading