commit | 6880f83431e54765364664d9ec50ce0d748bdfae | [log] [tgz] |
---|---|---|
author | Lajos Molnar <lajos@google.com> | Thu Feb 04 12:44:27 2016 -0800 |
committer | Lajos Molnar <lajos@google.com> | Tue Feb 09 11:25:04 2016 -0800 |
tree | a881f893a55e1add84cf4e8e3658ecb822a96633 | |
parent | f035bc642f2895e142caa13cb3e72af85f011657 [diff] |
stagefright: change signature of MediaCodec::Create methods Most clients already have AString when creating codecs, and internally we use AString. const char * automatically casts to AString, but it does incur a copy cost, so we incur it on every MediaCodec::Create call. Bug: 17108024 Change-Id: I213dde7a6fc3cf3756eee6afd7194413bcca54a5