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
Loading
Please register or sign in to comment