浏览代码

package/mp4v2: bump to version 5.0.1

Drop first patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fabrice Fontaine 3 年之前
父节点
当前提交
df22a9d6b7

+ 0 - 33
package/mp4v2/0001-Fix-GCC7-build.patch

@@ -1,33 +0,0 @@
-From 855e9674232808ff3be7191b697dfb56917db21f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= <sergio@serjux.com>
-Date: Wed, 8 Feb 2017 00:56:32 +0000
-Subject: [PATCH] Fix GCC7 build
-
-if (*pSlash != '\0') {
-
-As it stands the body of that if will always execute and when there are
-no encoding parameters ppEncodingParams will be returned as a pointer to
-an empty string rather than as a null pointer
-
-Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-[Upstream status: https://github.com/TechSmith/mp4v2/pull/36]
----
- src/rtphint.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/rtphint.cpp b/src/rtphint.cpp
-index e07309d..1eb01f5 100644
---- 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);
--- 
-2.11.0
-

+ 1 - 1
package/mp4v2/0002-src-mp4track.cpp-replace-nullptr-by-NULL.patch → package/mp4v2/0001-src-mp4track.cpp-replace-nullptr-by-NULL.patch

@@ -16,7 +16,7 @@ Fixes:
  - http://autobuild.buildroot.org/results/14937c96a82fb3d10e5d83bd7b2905b846fb09f9
 
 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-[Upstream status: not sent yet]
+[Upstream status: https://github.com/TechSmith/mp4v2/pull/62]
 ---
  src/mp4track.cpp | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

+ 0 - 0
package/mp4v2/0003-Static-cast-to-unsigned-int-for-cases.patch → package/mp4v2/0002-Static-cast-to-unsigned-int-for-cases.patch


+ 1 - 1
package/mp4v2/mp4v2.hash

@@ -1,3 +1,3 @@
 # Locally computed
-sha256  e3ad6c2dc451b0875dbe34bfe7f51f4fe278b391434c886083e6d3ecd5fa08c2  mp4v2-4.1.3.tar.gz
+sha256  de31e430e2641f25b67d10c47b0cda35279881b0196120e33bcd71b9cef1bd58  mp4v2-5.0.1.tar.gz
 sha256  15e38684c940176e2fc76331a2299d2ab5115ac997078f768ef31b896af69fc5  COPYING

+ 1 - 1
package/mp4v2/mp4v2.mk

@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MP4V2_VERSION = 4.1.3
+MP4V2_VERSION = 5.0.1
 MP4V2_SITE = \
 	$(call github,TechSmith,mp4v2,Release-ThirdParty-MP4v2-$(MP4V2_VERSION))
 MP4V2_INSTALL_STAGING = YES