--- libmp4v2-2.0.0/src/rtphint.cpp +++ libmp4v2-2.0.0/src/rtphint.cpp @@ -339,7 +339,7 @@ pSlash = strchr(pSlash, '/'); if (pSlash != NULL) { pSlash++; - if (pSlash != '\0') { + if (*pSlash != '\0') { length = (uint32_t)strlen(pRtpMap) - (pSlash - pRtpMap); *ppEncodingParams = (char *)MP4Calloc(length + 1); strncpy(*ppEncodingParams, pSlash, length);