--- /dev/null
+--- mp4v2-Release-MP4v2-3.0.3.0/src/rtphint.cpp.orig 2017-04-11 17:50:56.000000000 +0200
++++ mp4v2-Release-MP4v2-3.0.3.0/src/rtphint.cpp 2018-06-16 10:48:21.631875614 +0200
+@@ -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);
# Source0-md5: c12fd37e66e64902f24c0677ba577a11
Patch0: %{name}-export.patch
Patch1: %{name}-doc.patch
+Patch2: %{name}-nul.patch
URL: https://github.com/TechSmith/mp4v2
BuildRequires: help2man
BuildRequires: libstdc++-devel
%setup -q -n %{name}-Release-MP4v2-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
# "txt" build fails without this directory
mkdir -p doc/articles/txt