diff options
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 |
commit | 2d34e08b32f1984f9d17848e41872fb69e21187f (patch) | |
tree | 5882721a49a42a24eca3368afacf0134bf16b7eb /libmp4v2/build/patches | |
parent | b0039bcda5b94a9646bdedb5b9f82995fcd0fdd3 (diff) | |
download | asb-2d34e08b32f1984f9d17848e41872fb69e21187f.tar.gz asb-2d34e08b32f1984f9d17848e41872fb69e21187f.tar.xz |
Initial revision
Diffstat (limited to 'libmp4v2/build/patches')
-rw-r--r-- | libmp4v2/build/patches/libmp4v2_c++11.patch | 11 |
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); |