Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75a3d98b authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 4402249 from d7d6df84 to oc-mr1-release

Change-Id: Ia1eee4026007d190e50f9ef3a8555c656d1c5af0
parents bbaa4ada d7d6df84
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1676,6 +1676,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);
            }