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

Skip to content
Commit 7c182f9f authored by Iris Chang's avatar Iris Chang Committed by Marco Nelissen
Browse files

Cannot play 3gp file which esds box is over 256 bytes

The size of chunk box "esds" is over 256 bytes, which is
Android default maximum size. There is much rubbish data
in esds box except valid data. MPEG4Extractor uses
uint8_t buffer[256] to handle esds box buffer, but sometimes
it is not enough, so it returns error and cannot play.

Solution: remove size check code and let malloc to prevent
too large size.

Bug: 122746531
Test: Play a video file whose esds size is over 256 bytes
and check if it can play normally

Change-Id: I2384bf8fc54e3f0c3a7d1351896bb408560b6490
parent 2d951098
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment