diff options
author | Praveen Chavan <pchavan@codeaurora.org> | 2014-08-13 12:53:00 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2015-05-05 11:55:48 -0700 |
commit | 8b07404cfe564885045a63bb592d6b6dc838b408 (patch) | |
tree | 6933fc329e57267289f88e7bf8a3e2c20c32070b /cmds | |
parent | ebea5e7d0697c024c1ddf6001dcd33036e9bd95f (diff) | |
download | frameworks_av-8b07404cfe564885045a63bb592d6b6dc838b408.zip frameworks_av-8b07404cfe564885045a63bb592d6b6dc838b408.tar.gz frameworks_av-8b07404cfe564885045a63bb592d6b6dc838b408.tar.bz2 |
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
Diffstat (limited to 'cmds')
0 files changed, 0 insertions, 0 deletions