]> git.sesse.net Git - cubemap/commitdiff
Beef up the warning limit for large blocks a bit; MKV chunks can get pretty big.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 10 Jul 2015 21:01:50 +0000 (23:01 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Fri, 10 Jul 2015 21:01:50 +0000 (23:01 +0200)
httpinput.cpp

index 74466c7acbb671f33f4f0fa3a76c77091e324038..043c07c6fd2085d7b199470da796318e19ee850b 100644 (file)
@@ -549,7 +549,7 @@ void HTTPInput::process_data(char *ptr, size_t bytes)
                        has_metacube_header = false;
                        continue;
                }
                        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);
                }
                        log(WARNING, "[%s] Metacube block of %d bytes (flags=%x); corrupted header?",
                                url.c_str(), size, flags);
                }