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 74466c7..043c07c 100644 (file)
@@ -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);
                }