|
|
|
@ -8,11 +8,13 @@ |
|
|
|
|
|
|
|
|
|
/* Select appropriate case insensitive string comparison function: */ |
|
|
|
|
#if defined WIN32 || defined _MSC_VER |
|
|
|
|
#define MY_STRNICMP strnicmp |
|
|
|
|
#define MY_STRICMP stricmp |
|
|
|
|
# define MY_STRNICMP _strnicmp |
|
|
|
|
# define MY_STRICMP _stricmp |
|
|
|
|
# define MY_STRDUP _strdup |
|
|
|
|
#else |
|
|
|
|
# define MY_STRNICMP strncasecmp |
|
|
|
|
# define MY_STRICMP strcasecmp |
|
|
|
|
# define MY_STRDUP strdup |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/* List of foreground (FG) DETECTION modules: */ |
|
|
|
@ -239,7 +241,7 @@ static int RunBlobTrackingAuto( CvCapture* pCap, CvBlobTrackerAuto* pTracker,cha |
|
|
|
|
|
|
|
|
|
if(pS) |
|
|
|
|
{ |
|
|
|
|
char* pStr = strdup(pS); |
|
|
|
|
char* pStr = MY_STRDUP(pS); |
|
|
|
|
char* pStrFree = pStr; |
|
|
|
|
|
|
|
|
|
while (pStr && strlen(pStr) > 0) |
|
|
|
|