diff options
Diffstat (limited to 'media-libs/libmp4v2/files/libmp4v2-2.0.0-gcc7.patch')
-rw-r--r-- | media-libs/libmp4v2/files/libmp4v2-2.0.0-gcc7.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/media-libs/libmp4v2/files/libmp4v2-2.0.0-gcc7.patch b/media-libs/libmp4v2/files/libmp4v2-2.0.0-gcc7.patch deleted file mode 100644 index 156f0fcbaa0d..000000000000 --- a/media-libs/libmp4v2/files/libmp4v2-2.0.0-gcc7.patch +++ /dev/null @@ -1,18 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=600892 - -Description: Fix pointer comparison (FTBFS on GCC 7) -Author: Philip Chung <philipchung1995@yahoo.com> -Bug-Debian: https://bugs.debian.org/853560 -Last-Update: 2017-09-04 - ---- a/src/rtphint.cpp -+++ b/src/rtphint.cpp -@@ -339,7 +339,7 @@ void MP4RtpHintTrack::GetPayload( - 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); |