Line
Link Here
|
0 |
-- libmp4v2-2.0.0/src/rtphint.cpp |
0 |
++ libmp4v2-2.0.0/src/rtphint.cpp |
Lines 339-345
Link Here
|
339 |
pSlash = strchr(pSlash, '/'); |
339 |
pSlash = strchr(pSlash, '/'); |
340 |
if (pSlash != NULL) { |
340 |
if (pSlash != NULL) { |
341 |
pSlash++; |
341 |
pSlash++; |
342 |
if (pSlash != '\0') { |
342 |
if (*pSlash != '\0') { |
343 |
length = (uint32_t)strlen(pRtpMap) - (pSlash - pRtpMap); |
343 |
length = (uint32_t)strlen(pRtpMap) - (pSlash - pRtpMap); |
344 |
*ppEncodingParams = (char *)MP4Calloc(length + 1); |
344 |
*ppEncodingParams = (char *)MP4Calloc(length + 1); |
345 |
strncpy(*ppEncodingParams, pSlash, length); |
345 |
strncpy(*ppEncodingParams, pSlash, length); |