aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/libmp4v2-c++11.patch
blob: e12f89bd8444974209f227f79f7159a876d8f1a8 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Avoid a type mismatch that shows up in C++11.
Taken from <https://bugs.debian.org/853560>.

--- a/src/rtphint.cpp	2012-05-20 16:11:53.000000000 -0600
+++ b/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);
pan title='2017-08-08 18:43:07 +0300'>2017-08-08gnu: babl: Update to 0.1.28....Efraim Flashner 2017-08-08gnu: gegl: Use 'modify-phases' syntax....Efraim Flashner 2017-08-08gnu: gegl: Fix building on aarch64....Efraim Flashner 2017-05-12gnu: gimp: Update to 2.8.22 [fixes CVE-2007-3126]....Leo Famulari 2017-01-23gnu: gegl: Don't replace 'sh' reference with 'bash'....Leo Famulari 2017-01-13gnu: Removed unused module import from (gnu packages gimp)....Leo Famulari 2017-01-03gnu: gimp: Enable PDF support...Maxim Cournoyer