summaryrefslogtreecommitdiffstats
path: root/voip/jni/rtp
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2010-10-06 12:23:02 -0700
committerMarco Nelissen <marcone@google.com>2010-10-06 12:23:02 -0700
commitfd1e4ad52ca5c7371538390c7debe36492542051 (patch)
tree0b1507216f3ba0e4f2513ba32edf3268efbf0e44 /voip/jni/rtp
parent066b5c5166c1f5342bd42aa0d68f784a5f4c1dd1 (diff)
downloadframeworks_base-fd1e4ad52ca5c7371538390c7debe36492542051.zip
frameworks_base-fd1e4ad52ca5c7371538390c7debe36492542051.tar.gz
frameworks_base-fd1e4ad52ca5c7371538390c7debe36492542051.tar.bz2
Fix simulator build, part 1/n
Change-Id: If0a42ab262ee6aa6381ce95bd49baf232adb01c5
Diffstat (limited to 'voip/jni/rtp')
-rw-r--r--voip/jni/rtp/AmrCodec.cpp2
-rw-r--r--voip/jni/rtp/EchoSuppressor.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/voip/jni/rtp/AmrCodec.cpp b/voip/jni/rtp/AmrCodec.cpp
index f3ecac2..84c7166 100644
--- a/voip/jni/rtp/AmrCodec.cpp
+++ b/voip/jni/rtp/AmrCodec.cpp
@@ -73,7 +73,7 @@ int AmrCodec::set(int sampleRate, const char *fmtp)
}
// Handle mode-set and octet-align.
- char *modes = strcasestr(fmtp, "mode-set=");
+ const char *modes = strcasestr(fmtp, "mode-set=");
if (modes) {
mMode = 0;
mModeSet = 0;
diff --git a/voip/jni/rtp/EchoSuppressor.cpp b/voip/jni/rtp/EchoSuppressor.cpp
index 92015a9..2ceebdc 100644
--- a/voip/jni/rtp/EchoSuppressor.cpp
+++ b/voip/jni/rtp/EchoSuppressor.cpp
@@ -16,6 +16,7 @@
#include <stdio.h>
#include <stdint.h>
+#include <string.h>
#include <math.h>
#define LOG_TAG "Echo"