commit | 8b07404cfe564885045a63bb592d6b6dc838b408 | [log] [tgz] |
---|---|---|
author | Praveen Chavan <pchavan@codeaurora.org> | Wed Aug 13 12:53:00 2014 -0700 |
committer | Lajos Molnar <lajos@google.com> | Tue May 05 11:55:48 2015 -0700 |
tree | 6933fc329e57267289f88e7bf8a3e2c20c32070b | |
parent | ebea5e7d0697c024c1ddf6001dcd33036e9bd95f [diff] |
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