summaryrefslogtreecommitdiffstats
path: root/libmp4v2/build/patches
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-06-29 19:23:14 +0000
committer Eric Hameleers <alien@slackware.com>2020-06-29 19:23:14 +0000
commit2d34e08b32f1984f9d17848e41872fb69e21187f (patch)
tree5882721a49a42a24eca3368afacf0134bf16b7eb /libmp4v2/build/patches
parentb0039bcda5b94a9646bdedb5b9f82995fcd0fdd3 (diff)
downloadasb-2d34e08b32f1984f9d17848e41872fb69e21187f.tar.gz
asb-2d34e08b32f1984f9d17848e41872fb69e21187f.tar.xz
Initial revision
Diffstat (limited to 'libmp4v2/build/patches')
-rw-r--r--libmp4v2/build/patches/libmp4v2_c++11.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libmp4v2/build/patches/libmp4v2_c++11.patch b/libmp4v2/build/patches/libmp4v2_c++11.patch
new file mode 100644
index 00000000..aea63b0e
--- /dev/null
+++ b/libmp4v2/build/patches/libmp4v2_c++11.patch
@@ -0,0 +1,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);