summaryrefslogtreecommitdiffstats
path: root/libvideoeditor
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-12-28 09:47:37 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2012-12-28 09:47:37 -0800
commitf78f2629f5f6f5fc37a2089a85107fed97f12192 (patch)
tree091ea213899d07a7ec8847b0fa2e88faf0b46b7d /libvideoeditor
parent6f90c2b99cc6ec90c0e9a175d795edaf22f9d5bd (diff)
parent3e55b3e4cdebd47a2e5b5df99107954fb4b1ab64 (diff)
downloadframeworks_av-f78f2629f5f6f5fc37a2089a85107fed97f12192.zip
frameworks_av-f78f2629f5f6f5fc37a2089a85107fed97f12192.tar.gz
frameworks_av-f78f2629f5f6f5fc37a2089a85107fed97f12192.tar.bz2
am 3e55b3e4: am 12834fe2: Merge "libvideoeditor: fix code bugs when enabling all-level debugging macros"
* commit '3e55b3e4cdebd47a2e5b5df99107954fb4b1ab64': libvideoeditor: fix code bugs when enabling all-level debugging macros
Diffstat (limited to 'libvideoeditor')
-rwxr-xr-xlibvideoeditor/osal/inc/M4OSA_Debug.h4
-rwxr-xr-xlibvideoeditor/vss/src/M4xVSS_internal.c2
-rwxr-xr-xlibvideoeditor/vss/stagefrightshells/src/VideoEditor3gpReader.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/libvideoeditor/osal/inc/M4OSA_Debug.h b/libvideoeditor/osal/inc/M4OSA_Debug.h
index b06183d..826ab51 100755
--- a/libvideoeditor/osal/inc/M4OSA_Debug.h
+++ b/libvideoeditor/osal/inc/M4OSA_Debug.h
@@ -68,14 +68,14 @@ extern M4OSA_Void M4OSA_DEBUG_traceFunction(M4OSA_UInt32 line,
if(cond)\
{\
M4OSA_DEBUG_traceFunction(__LINE__, (M4OSA_Char*)__FILE__, level,\
- (M4OSA_Char*)#cond, (M4OSA_Char*)msg,
+ (M4OSA_Char*)#cond, (M4OSA_Char*)msg,\
(errorCode));\
return(errorCode);\
}
#define M4OSA_DEBUG(errorCode, msg)\
M4OSA_DEBUG_traceFunction(__LINE__, (M4OSA_Char*)__FILE__, 1,\
- (M4OSA_Char*)#errorCode, (M4OSA_Char*)msg,
+ (M4OSA_Char*)#errorCode, (M4OSA_Char*)msg,\
(errorCode));
#else /*(M4OSA_DEBUG_LEVEL >= 1) || (M4OSA_SUPER_DEBUG_LEVEL >= 1)*/
diff --git a/libvideoeditor/vss/src/M4xVSS_internal.c b/libvideoeditor/vss/src/M4xVSS_internal.c
index 5844115..64a6f40 100755
--- a/libvideoeditor/vss/src/M4xVSS_internal.c
+++ b/libvideoeditor/vss/src/M4xVSS_internal.c
@@ -4025,7 +4025,7 @@ M4OSA_ERR M4VSS3GPP_externalVideoEffectFifties( M4OSA_Void *pUserData,
M4xVSS_FiftiesStruct* p_FiftiesData = (M4xVSS_FiftiesStruct *)pUserData;
/* Check the inputs (debug only) */
- M4OSA_DEBUG_IF2((pFiftiesData == M4OSA_NULL),M4ERR_PARAMETER,
+ M4OSA_DEBUG_IF2((p_FiftiesData == M4OSA_NULL),M4ERR_PARAMETER,
"xVSS: p_FiftiesData is M4OSA_NULL in M4VSS3GPP_externalVideoEffectFifties");
M4OSA_DEBUG_IF2((pPlaneOut == M4OSA_NULL),M4ERR_PARAMETER,
"xVSS: p_PlaneOut is M4OSA_NULL in M4VSS3GPP_externalVideoEffectFifties");
diff --git a/libvideoeditor/vss/stagefrightshells/src/VideoEditor3gpReader.cpp b/libvideoeditor/vss/stagefrightshells/src/VideoEditor3gpReader.cpp
index f735c0b..3c8915a 100755
--- a/libvideoeditor/vss/stagefrightshells/src/VideoEditor3gpReader.cpp
+++ b/libvideoeditor/vss/stagefrightshells/src/VideoEditor3gpReader.cpp
@@ -975,7 +975,7 @@ M4OSA_ERR VideoEditor3gpReader_getNextAu(M4OSA_Context context,
status_t error;
int32_t i32Tmp = 0;
- M4OSA_DEBUG_IF1((pReaderContext == 0), M4ERR_PARAMETER,
+ M4OSA_DEBUG_IF1(( pC== 0), M4ERR_PARAMETER,
"VideoEditor3gpReader_getNextAu: invalid context");
M4OSA_DEBUG_IF1((pStreamHandler == 0), M4ERR_PARAMETER,
"VideoEditor3gpReader_getNextAu: invalid pointer to M4_StreamHandler");