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

Skip to content
Commit 8b07404c authored by Praveen Chavan's avatar Praveen Chavan Committed by Lajos Molnar
Browse files

stagefright: Validate track formats passed to MPEG4Writer

Validate the mime type for tracks to start with; and throw
an error for unsupported types rather than let apps re-mux/encode
the whole clip and assert towards the end while writing the header.
The writer asserts if provided with an unsupported mime when
authoring the fourcc, which is done at the end of muxing.

Bug: 17007397
Change-Id: Ie80372940a46038db73107101a2ae6fdecf72eaa
parent ebea5e7d
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