diff options
author | Chung-yih Wang <cywang@google.com> | 2010-10-06 16:46:59 +0800 |
---|---|---|
committer | Chung-yih Wang <cywang@google.com> | 2010-10-06 16:46:59 +0800 |
commit | fb116fbea3b5f4ea725c0c3e82e70fd82e0a45c5 (patch) | |
tree | 42f3da9bf81ecdf17ac4532adc478f83a2ef750e /voip/jni | |
parent | b9a40068b590b86904b40bf466571b140d0f94b4 (diff) | |
download | frameworks_base-fb116fbea3b5f4ea725c0c3e82e70fd82e0a45c5.zip frameworks_base-fb116fbea3b5f4ea725c0c3e82e70fd82e0a45c5.tar.gz frameworks_base-fb116fbea3b5f4ea725c0c3e82e70fd82e0a45c5.tar.bz2 |
Misc fixes for sim-eng build.
Change-Id: I0c5dac1097abc924e66dab92d7d03d5051b4fd29
Diffstat (limited to 'voip/jni')
-rw-r--r-- | voip/jni/rtp/AmrCodec.cpp | 2 | ||||
-rw-r--r-- | voip/jni/rtp/EchoSuppressor.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/voip/jni/rtp/AmrCodec.cpp b/voip/jni/rtp/AmrCodec.cpp index f3ecac2..72ee44e 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="); + char *modes = (char*)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..a1a7aed 100644 --- a/voip/jni/rtp/EchoSuppressor.cpp +++ b/voip/jni/rtp/EchoSuppressor.cpp @@ -15,6 +15,7 @@ */ #include <stdio.h> +#include <string.h> #include <stdint.h> #include <math.h> |