commit | 6fc17d1a7c5d2fb117491b2e9f66c6236b526508 | [log] [tgz] |
---|---|---|
author | Lajos Molnar <lajos@google.com> | Thu Feb 04 12:44:27 2016 -0800 |
committer | Lajos Molnar <lajos@google.com> | Thu Feb 04 16:43:20 2016 -0800 |
tree | 79ee2cf73237076b1f47150af88baf633469db1b | |
parent | b60521e269e5aeca773853dfeb150e9a512c7334 [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