summaryrefslogtreecommitdiffstats
path: root/libmp4v2/build/patches/libmp4v2_c++11.patch
blob: aea63b0e6adffc61f93db6fe8746b1fa1790ee85 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- src/rtphint.cpp	2012-05-20 16:11:53.000000000 -0600
+++ src/rtphint.cpp	2017-05-16 10:25:26.930705191 -0600
@@ -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);