Bug 1253471 - Bump box size limit to 128MB - r?k17e
MozReview-Commit-ID: CB4ke7ejbTe
--- 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;