diff options
author | Dheeraj Sharma <dheerajs@google.com> | 2011-01-29 21:26:22 -0800 |
---|---|---|
committer | Dheeraj Sharma <dheerajs@google.com> | 2011-01-30 17:45:18 -0800 |
commit | 5d33cc161e7d13459b4833dbc8b769093c3f80b0 (patch) | |
tree | 86ec21b8de9a60fb0888eff6532b3e196c501631 /libvideoeditor/osal | |
parent | e1f105895f913b19ad848cc90a3cd57dad657abf (diff) | |
download | frameworks_av-5d33cc161e7d13459b4833dbc8b769093c3f80b0.zip frameworks_av-5d33cc161e7d13459b4833dbc8b769093c3f80b0.tar.gz frameworks_av-5d33cc161e7d13459b4833dbc8b769093c3f80b0.tar.bz2 |
Incorporated review comments and merged on TOT
Change-Id: Ia147aeb73a6d8cf9c48e02ccaa428aa7adc04d3a
Diffstat (limited to 'libvideoeditor/osal')
-rwxr-xr-x | libvideoeditor/osal/src/M4OSA_FileCommon.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libvideoeditor/osal/src/M4OSA_FileCommon.c b/libvideoeditor/osal/src/M4OSA_FileCommon.c index b7a0a5b..52fe781 100755 --- a/libvideoeditor/osal/src/M4OSA_FileCommon.c +++ b/libvideoeditor/osal/src/M4OSA_FileCommon.c @@ -45,7 +45,7 @@ #include "M4OSA_Memory.h" #include "M4OSA_CharStar.h" -#define FILE_LOWER_CASE //defined to support limitaion of lower case file system in sdcard. +//#define FILE_LOWER_CASE //defined to support limitaion of lower case file system in sdcard. /** ************************************************************************ * @brief This function opens the provided URL and returns its context. @@ -188,9 +188,13 @@ M4OSA_ERR M4OSA_fileCommonOpen(M4OSA_UInt16 core_id, M4OSA_Context* pContext, pFileHandler = fopen((const char *)tempConversionBuf, (const char *)mode); /*Free the temporary decoded buffer*/ M4OSA_free((M4OSA_MemAddr32)tempConversionBuf); -#else if FILE_LOWER_CASE +#else /* UTF_CONVERSION */ +#ifdef FILE_LOWER_CASE pFileHandler = fopen((const char *)tmpLowerCaseUrl, (const char *)mode); M4OSA_free((M4OSA_MemAddr32)tmpLowerCaseUrl); +#else + pFileHandler = fopen((const char *)pUrl, (const char *)mode); +#endif #endif /* UTF_CONVERSION */ if (M4OSA_NULL == pFileHandler) |