403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/multimedia/mp4v2/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/multimedia/mp4v2/files/patch-src-mp4info.cpp
--- src/mp4info.cpp.orig	2012-05-20 22:11:53 UTC
+++ src/mp4info.cpp
@@ -109,7 +109,7 @@ static char* PrintAudioInfo(
     const char* typeName = "Unknown";
     bool foundType = false;
     uint8_t type = 0;
-    const char *media_data_name;
+    const char *media_data_name = NULL;
 
     media_data_name = MP4GetTrackMediaDataName(mp4File, trackId);
 
@@ -306,7 +306,7 @@ static char* PrintVideoInfo(
     bool foundTypeName = false;
     const char* typeName = "Unknown";
 
-    const char *media_data_name;
+    const char *media_data_name = NULL;
     char originalFormat[8];
     char  oformatbuffer[32];
     originalFormat[0] = 0;
@@ -315,7 +315,7 @@ static char* PrintVideoInfo(
 
     media_data_name = MP4GetTrackMediaDataName(mp4File, trackId);
     // encv 264b
-    if (strcasecmp(media_data_name, "encv") == 0) {
+    if (media_data_name != NULL && strcasecmp(media_data_name, "encv") == 0) {
         if (MP4GetTrackMediaDataOriginalFormat(mp4File,
                                                trackId,
                                                originalFormat,

Youez - 2016 - github.com/yon3zu
LinuXploit