Loading media/extractors/mp4/MPEG4Extractor.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -1721,6 +1721,9 @@ status_t MPEG4Extractor::parseChunk(off64_t *offset, int depth) { // ratio. Use compression ratio of 1. max_size = width * height * 3 / 2; } // HACK: allow 10% overhead // TODO: read sample size from traf atom for fragmented MPEG4. max_size += max_size / 10; mLastTrack->meta->setInt32(kKeyMaxInputSize, max_size); } Loading Loading
media/extractors/mp4/MPEG4Extractor.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -1721,6 +1721,9 @@ status_t MPEG4Extractor::parseChunk(off64_t *offset, int depth) { // ratio. Use compression ratio of 1. max_size = width * height * 3 / 2; } // HACK: allow 10% overhead // TODO: read sample size from traf atom for fragmented MPEG4. max_size += max_size / 10; mLastTrack->meta->setInt32(kKeyMaxInputSize, max_size); } Loading