summaryrefslogtreecommitdiffstats
path: root/libvideoeditor/vss/src/M4PCMR_CoreReader.c
diff options
context:
space:
mode:
authorDheeraj Sharma <dheerajs@google.com>2011-04-12 14:45:11 -0700
committerDheeraj Sharma <dheerajs@google.com>2011-04-12 14:45:11 -0700
commit947721ba962c19913b76658cdbb19ae8c77c9c50 (patch)
tree08b24ea0d55b99e7a7042d325aeb587ec495f214 /libvideoeditor/vss/src/M4PCMR_CoreReader.c
parentddc7e59ee4aa418b809e37d2bcbf169e205a6150 (diff)
downloadframeworks_av-947721ba962c19913b76658cdbb19ae8c77c9c50.zip
frameworks_av-947721ba962c19913b76658cdbb19ae8c77c9c50.tar.gz
frameworks_av-947721ba962c19913b76658cdbb19ae8c77c9c50.tar.bz2
Fix for issue 4133431 "Remove OSAL layer" in engine part
Change-Id: I79efc956aa0d23fb333d12c8947b48455b7524d1
Diffstat (limited to 'libvideoeditor/vss/src/M4PCMR_CoreReader.c')
-rwxr-xr-xlibvideoeditor/vss/src/M4PCMR_CoreReader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvideoeditor/vss/src/M4PCMR_CoreReader.c b/libvideoeditor/vss/src/M4PCMR_CoreReader.c
index 15fd9c8..f21764b 100755
--- a/libvideoeditor/vss/src/M4PCMR_CoreReader.c
+++ b/libvideoeditor/vss/src/M4PCMR_CoreReader.c
@@ -95,7 +95,7 @@ M4OSA_ERR M4PCMR_openRead(M4OSA_Context* pContext, M4OSA_Void* pUrl,
context->m_pDecoderSpecInfo = M4OSA_NULL;
/* Set sample frequency */
- pTempURL = (M4OSA_Char*)pUrl + (M4OSA_chrLength((M4OSA_Char*)pUrl)-11);
+ pTempURL = (M4OSA_Char*)pUrl + (strlen((const char *)pUrl)-11);
M4OSA_chrNCopy(value, pTempURL, 5);
M4OSA_chrGetUInt32(pTempURL, &(context->m_decoderConfig.SampleFrequency),
M4OSA_NULL, M4OSA_kchrDec);
@@ -106,7 +106,7 @@ M4OSA_ERR M4PCMR_openRead(M4OSA_Context* pContext, M4OSA_Void* pUrl,
M4OSA_chrGetUInt16(pTempURL, &(context->m_decoderConfig.nbChannels),
M4OSA_NULL, M4OSA_kchrDec);
- M4OSA_chrNCopy(pUrl,pUrl, (M4OSA_chrLength((M4OSA_Char*)pUrl)-12));
+ M4OSA_chrNCopy(pUrl,pUrl, (strlen((const char *)pUrl)-12));
/* Open the file */
context->m_fileContext = M4OSA_NULL;
err = pFileFunction->openRead(&(context->m_fileContext), pUrl, M4OSA_kFileRead);