]> git.sesse.net Git - cubemap/commitdiff
Up the Metacube block limit yet again; MP4 can create huge clusters.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 28 Mar 2016 22:35:39 +0000 (00:35 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 28 Mar 2016 22:35:39 +0000 (00:35 +0200)
httpinput.cpp

index 374441c32b30e604ec436f8cd62b8f058ed761d8..4980fc170c2e721a07abb80fe6635916537cca71 100644 (file)
@@ -532,8 +532,8 @@ void HTTPInput::process_data(char *ptr, size_t bytes)
                        has_metacube_header = false;
                        continue;
                }
-               if (size > 1048576) {
-                       log(WARNING, "[%s] Metacube block of %d bytes (flags=%x); corrupted header?",
+               if (size > 10485760) {
+                       log(WARNING, "[%s] Metacube block of %d bytes (flags=%x); corrupted header??",
                                url.c_str(), size, flags);
                }