[SCM] mp4v2/master: debian/patches/: patchset updated

mfv at users.alioth.debian.org mfv at users.alioth.debian.org
Sat Sep 16 21:26:57 UTC 2017


The following commit has been merged in the master branch:
commit 8c160323d52eb2e860630cf496365218ca0ba436
Author: Matteo F. Vescovi <mfv at debian.org>
Date:   Sat Sep 16 23:14:29 2017 +0200

    debian/patches/: patchset updated
    
    - 0004-Pointer_comparison.patch added
    
    Closes: #853560

diff --git a/debian/patches/0004-Pointer_comparison.patch b/debian/patches/0004-Pointer_comparison.patch
new file mode 100644
index 0000000..6dc5919
--- /dev/null
+++ b/debian/patches/0004-Pointer_comparison.patch
@@ -0,0 +1,16 @@
+Description: Fix pointer comparison (FTBFS on GCC 7)
+Author: Philip Chung <philipchung1995 at yahoo.com>
+Bug-Debian: https://bugs.debian.org/853560
+Last-Update: 2017-09-04
+
+--- mp4v2-2.0.0~dfsg0.orig/src/rtphint.cpp
++++ mp4v2-2.0.0~dfsg0/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);
diff --git a/debian/patches/series b/debian/patches/series
index 4277a84..9edb4bb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 0001-Fix_mp4tags_corruption.patch
 0002-Fix_m4_error.patch
 0003-Reproducible_build.patch
+0004-Pointer_comparison.patch

-- 
mp4v2 packaging



More information about the pkg-multimedia-commits mailing list