summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-02-04 11:54:28 -0800
committerElliott Hughes <enh@google.com>2015-02-04 11:54:28 -0800
commita1e8944a21e5833b7aadc451776f11797f5f9273 (patch)
treeb7f4c150346d21f4862f231160c7df6602509a12 /cmds
parent16e8d463bc5c8805ae6815c67875b16d177a9d8a (diff)
downloadframeworks_av-a1e8944a21e5833b7aadc451776f11797f5f9273.zip
frameworks_av-a1e8944a21e5833b7aadc451776f11797f5f9273.tar.gz
frameworks_av-a1e8944a21e5833b7aadc451776f11797f5f9273.tar.bz2
Move AString's StringPrintf out of the way.
We should come back and replace AString with std::string and switch to the "real" StringPrintf family, but this fixes the ODR violation that was preventing us from booting. Bug: 19265750 Change-Id: I798eb9ca5dd634e44625af5e583439ef9f0cdc35
Diffstat (limited to 'cmds')
-rw-r--r--cmds/stagefright/SimplePlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/stagefright/SimplePlayer.cpp b/cmds/stagefright/SimplePlayer.cpp
index 1b2f792..4b2f980 100644
--- a/cmds/stagefright/SimplePlayer.cpp
+++ b/cmds/stagefright/SimplePlayer.cpp
@@ -332,7 +332,7 @@ status_t SimplePlayer::onPrepare() {
size_t j = 0;
sp<ABuffer> buffer;
- while (format->findBuffer(StringPrintf("csd-%d", j).c_str(), &buffer)) {
+ while (format->findBuffer(AStringPrintf("csd-%d", j).c_str(), &buffer)) {
state->mCSD.push_back(buffer);
++j;