* update libmp4v2 to 4.1.6-1
This commit is contained in:
parent
41af9845b5
commit
1f876da1c3
@ -4,22 +4,15 @@
|
||||
# Contributor: Jan de Groot <jgc@archlinux.org>
|
||||
|
||||
pkgname=libmp4v2
|
||||
pkgver=4.1.4
|
||||
pkgver=4.1.6
|
||||
pkgrel=1
|
||||
pkgdesc="An API to create and modify mp4 files as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems"
|
||||
arch=(x86_64 powerpc64le)
|
||||
arch=(x86_64 powerpc64le powerpc)
|
||||
license=('MPL')
|
||||
url="https://github.com/TechSmith/mp4v2"
|
||||
depends=('gcc-libs')
|
||||
source=("https://github.com/TechSmith/mp4v2/archive/Release-ThirdParty-MP4v2-$pkgver.tar.gz"
|
||||
libmp4v2-c++11.patch)
|
||||
sha512sums=('1f25ddb702dfc4095200f9f1812bca3e2c6da88358f4f01c5e1e83426a31373b510079d5b1a863efbaee98ddba4b2c8d762d6e56cfa11521fc50c0f46feadab3'
|
||||
'1b1bd1aceef9294f028227adbe387001b7282bd35e8a952deed5a5fc00646285c49c6d871274e264e9b8ba112bba955dbe9d12031a9282e09e1924e1042642df')
|
||||
|
||||
prepare() {
|
||||
cd mp4v2-Release-ThirdParty-MP4v2-$pkgver
|
||||
patch -p0 -i ../libmp4v2-c++11.patch # Fix build with C++11
|
||||
}
|
||||
source=("https://github.com/TechSmith/mp4v2/archive/Release-ThirdParty-MP4v2-$pkgver.tar.gz")
|
||||
sha512sums=('91f5183d38c9d7fd754ba4b5e149b00600d5b6cb8da063667e5c3a6c8edb4e5efc919d6c4381acd6e011ef56dce3f722a78c51b984066f5c0cc54aae735f3611')
|
||||
|
||||
build() {
|
||||
cd mp4v2-Release-ThirdParty-MP4v2-$pkgver
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- 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);
|
Loading…
x
Reference in New Issue
Block a user