Bug 1253471 - Bump box size limit to 128MB - r?k17e draft
authorGerald Squelart <gsquelart@mozilla.com>
Tue, 08 Mar 2016 14:50:41 +1100
changeset 338041 1f26139396323965b2cd3a3018ff75fc99263a23
parent 337411 be593a64d7c6a826260514fe758ef32a6ee580f7
child 338042 250521f0de54da61925852dfbe2e7d56e16416e9
push id12406
push usergsquelart@mozilla.com
push dateTue, 08 Mar 2016 03:51:14 +0000
reviewersk17e
bugs1253471
milestone48.0a1
Bug 1253471 - Bump box size limit to 128MB - r?k17e MozReview-Commit-ID: CB4ke7ejbTe
media/libstagefright/binding/Box.cpp
--- a/media/libstagefright/binding/Box.cpp
+++ b/media/libstagefright/binding/Box.cpp
@@ -10,17 +10,17 @@
 #include <algorithm>
 
 using namespace mozilla;
 
 namespace mp4_demuxer {
 
 // Limit reads to 32MiB max.
 // static
-const uint64_t Box::kMAX_BOX_READ = 32 * 1024 * 1024;
+const uint64_t Box::kMAX_BOX_READ = 128 * 1024 * 1024;
 
 // Returns the offset from the start of the body of a box of type |aType|
 // to the start of its first child.
 static uint32_t
 BoxOffset(AtomType aType)
 {
   const uint32_t FULLBOX_OFFSET = 4;