Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37048107
en ru br
ALT Linux repos
S:1.5.0.1-alt17
5.0: 1.5.0.1-alt6
4.1: 1.5.0.1-alt5
4.0: 1.5.0.1-alt3
3.0: 1.3-alt1

Group :: Video
RPM: mpeg4ip

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: mpeg4ip-1.5.0.1-alt-gcc.patch
Download


diff --git a/mpeg4ip/lib/mp4v2/atom_standard.cpp b/mpeg4ip/lib/mp4v2/atom_standard.cpp
index 7960bd2..92e4e6a 100644
--- a/mpeg4ip/lib/mp4v2/atom_standard.cpp
+++ b/mpeg4ip/lib/mp4v2/atom_standard.cpp
@@ -22,15 +22,15 @@
 #include "mp4common.h"
 #include "atoms.h"
 
-static const char name[5]={0251,'n', 'a', 'm', '\0'};
-static const char art[5]={0251,'A', 'R', 'T', '\0'};
-static const char wrt[5]={0251,'w', 'r', 't', '\0'};
-static const char alb[5]={0251,'a', 'l', 'b', '\0'};
-static const char day[5]={0251,'d', 'a', 'y', '\0'};
-static const char too[5]={0251,'t', 'o', 'o', '\0'};
-static const char cmt[5]={0251,'c', 'm', 't', '\0'};
-static const char gen[5]={0251,'g', 'e', 'n', '\0'};
-static const char grp[5]={0251,'g', 'r', 'p', '\0'};
+static const char name[5]={(char) 0251,'n', 'a', 'm', '\0'};
+static const char art[5]={(char) 0251,'A', 'R', 'T', '\0'};
+static const char wrt[5]={(char) 0251,'w', 'r', 't', '\0'};
+static const char alb[5]={(char) 0251,'a', 'l', 'b', '\0'};
+static const char day[5]={(char) 0251,'d', 'a', 'y', '\0'};
+static const char too[5]={(char) 0251,'t', 'o', 'o', '\0'};
+static const char cmt[5]={(char) 0251,'c', 'm', 't', '\0'};
+static const char gen[5]={(char) 0251,'g', 'e', 'n', '\0'};
+static const char grp[5]={(char) 0251,'g', 'r', 'p', '\0'};
 
 MP4StandardAtom::MP4StandardAtom (const char *type) : MP4Atom(type)
 {
diff --git a/mpeg4ip/lib/mp4v2/mp4atom.cpp b/mpeg4ip/lib/mp4v2/mp4atom.cpp
index 4f95f16..aba8765 100644
--- a/mpeg4ip/lib/mp4v2/mp4atom.cpp
+++ b/mpeg4ip/lib/mp4v2/mp4atom.cpp
@@ -250,11 +250,11 @@ MP4Atom* MP4Atom::CreateAtom(const char* type)
       }
       break;
     case 0251:
-      static const char name[5]={0251,'n', 'a', 'm', '\0'};
-      static const char cmt[5]={0251,'c', 'm', 't', '\0'};
-      static const char cpy[5]={0251,'c', 'p', 'y', '\0'};
-      static const char des[5]={0251,'d', 'e', 's','\0'};
-      static const char prd[5]={0251, 'p', 'r', 'd', '\0'};
+      static const char name[5]={(char) 0251,'n', 'a', 'm', '\0'};
+      static const char cmt[5]={(char) 0251,'c', 'm', 't', '\0'};
+      static const char cpy[5]={(char) 0251,'c', 'p', 'y', '\0'};
+      static const char des[5]={(char) 0251,'d', 'e', 's','\0'};
+      static const char prd[5]={(char) 0251, 'p', 'r', 'd', '\0'};
       if (ATOMID(type) == ATOMID(name) ||
 	  ATOMID(type) == ATOMID(cmt) ||
 	  ATOMID(type) == ATOMID(cpy) ||
diff --git a/mpeg4ip/lib/mp4v2/rtphint.cpp b/mpeg4ip/lib/mp4v2/rtphint.cpp
index def6998..aa0a234 100644
--- a/mpeg4ip/lib/mp4v2/rtphint.cpp
+++ b/mpeg4ip/lib/mp4v2/rtphint.cpp
@@ -342,7 +342,7 @@ void MP4RtpHintTrack::GetPayload(
 			  pSlash = strchr(pSlash, '/');
 			  if (pSlash != NULL) {
 			    pSlash++;
-			    if (pSlash != '\0') {
+			    if (*pSlash != '\0') {
 			      length = strlen(pRtpMap) - (pSlash - pRtpMap);
 			      *ppEncodingParams = (char *)MP4Calloc(length + 1);
 			      strncpy(*ppEncodingParams, pSlash, length);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin