From: Steinar H. Gunderson Date: Fri, 10 Jul 2015 21:01:50 +0000 (+0200) Subject: Beef up the warning limit for large blocks a bit; MKV chunks can get pretty big. X-Git-Tag: 1.2.0~25 X-Git-Url: https://git.sesse.net/?p=cubemap;a=commitdiff_plain;h=102adb2cb186339634590b7ae3e6b1393c72f4c5 Beef up the warning limit for large blocks a bit; MKV chunks can get pretty big. --- diff --git a/httpinput.cpp b/httpinput.cpp index 74466c7..043c07c 100644 --- a/httpinput.cpp +++ b/httpinput.cpp @@ -549,7 +549,7 @@ void HTTPInput::process_data(char *ptr, size_t bytes) has_metacube_header = false; continue; } - if (size > 262144) { + if (size > 1048576) { log(WARNING, "[%s] Metacube block of %d bytes (flags=%x); corrupted header?", url.c_str(), size, flags); }