Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 600892 | Differences between
and this patch

Collapse All | Expand All

(-)mp4v2-2.0.0/src/rtphint.cpp (-1 / +1 lines)
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);

Return to bug 600892