Bump buidlroot version to 2018.02.6
This commit is contained in:
32
bsp/buildroot/package/mp4v2/0001-Fix-GCC7-build.patch
Normal file
32
bsp/buildroot/package/mp4v2/0001-Fix-GCC7-build.patch
Normal file
@@ -0,0 +1,32 @@
|
||||
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>
|
||||
---
|
||||
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
|
||||
|
||||
@@ -8,7 +8,7 @@ MP4V2_VERSION = 2.0.0
|
||||
MP4V2_SOURCE = mp4v2-$(MP4V2_VERSION).tar.bz2
|
||||
MP4V2_SITE = https://mp4v2.googlecode.com/files
|
||||
MP4V2_INSTALL_STAGING = YES
|
||||
MP4V2_LICENSE = MPLv1.1
|
||||
MP4V2_LICENSE = MPL-1.1
|
||||
MP4V2_LICENSE_FILES = COPYING
|
||||
|
||||
# help2man expects to be able to run utilities on the build machine to
|
||||
|
||||
Reference in New Issue
Block a user