aboutsummaryrefslogtreecommitdiff
path: root/ports/librtmp/hide_netstackdump.patch
diff options
context:
space:
mode:
authorjerem <jeremy.tellaa@tanker.io>2019-11-12 14:46:48 +0100
committerjerem <jeremy.tellaa@tanker.io>2019-11-20 11:14:01 +0100
commit2a68d700c54cd604cbf9f871c993d67e1ed8dd9b (patch)
tree2a531fdaab5467e28230ccf1ae78cd6e86593bd0 /ports/librtmp/hide_netstackdump.patch
parentdf4773c05614eb19084ae4db1fbc1bb3295d3ec6 (diff)
downloadvcpkg-2a68d700c54cd604cbf9f871c993d67e1ed8dd9b.tar.gz
vcpkg-2a68d700c54cd604cbf9f871c993d67e1ed8dd9b.zip
use latest librtmp
as stated there: http://rtmpdump.mplayerhq.hu/ we should use the git repository, as the sources tar ball are very outdated
Diffstat (limited to 'ports/librtmp/hide_netstackdump.patch')
-rw-r--r--ports/librtmp/hide_netstackdump.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/ports/librtmp/hide_netstackdump.patch b/ports/librtmp/hide_netstackdump.patch
index 2ae44e46b..1cc7c8c5a 100644
--- a/ports/librtmp/hide_netstackdump.patch
+++ b/ports/librtmp/hide_netstackdump.patch
@@ -1,8 +1,8 @@
diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c
-index 5ef3ae9..7c6a010 100644
+index 0865689..b00710e 100644
--- a/librtmp/rtmp.c
+++ b/librtmp/rtmp.c
-@@ -129,7 +129,7 @@ static int clk_tck;
+@@ -155,7 +155,7 @@ static int clk_tck;
uint32_t
RTMP_GetTime()
{
@@ -11,7 +11,7 @@ index 5ef3ae9..7c6a010 100644
return 0;
#elif defined(_WIN32)
return timeGetTime();
-@@ -1256,7 +1256,7 @@ RTMP_ClientPacket(RTMP *r, RTMPPacket *packet)
+@@ -1381,7 +1381,7 @@ RTMP_ClientPacket(RTMP *r, RTMPPacket *packet)
return bHasMediaPacket;
}
@@ -20,8 +20,8 @@ index 5ef3ae9..7c6a010 100644
extern FILE *netstackdump;
extern FILE *netstackdump_read;
#endif
-@@ -1333,7 +1333,7 @@ ReadN(RTMP *r, char *buffer, int n)
- SendBytesReceived(r);
+@@ -1469,7 +1469,7 @@ ReadN(RTMP *r, char *buffer, int n)
+ return FALSE;
}
/*RTMP_Log(RTMP_LOGDEBUG, "%s: %d bytes\n", __FUNCTION__, nBytes); */
-#ifdef _DEBUG
@@ -29,7 +29,7 @@ index 5ef3ae9..7c6a010 100644
fwrite(ptr, 1, nBytes, netstackdump_read);
#endif
-@@ -3064,7 +3064,7 @@ HandShake(RTMP *r, int FP9HandShake)
+@@ -3757,7 +3757,7 @@ HandShake(RTMP *r, int FP9HandShake)
memset(&clientsig[4], 0, 4);
@@ -38,7 +38,7 @@ index 5ef3ae9..7c6a010 100644
for (i = 8; i < RTMP_SIG_SIZE; i++)
clientsig[i] = 0xff;
#else
-@@ -3136,7 +3136,7 @@ SHandShake(RTMP *r)
+@@ -3829,7 +3829,7 @@ SHandShake(RTMP *r)
memcpy(serversig, &uptime, 4);
memset(&serversig[4], 0, 4);
@@ -47,7 +47,7 @@ index 5ef3ae9..7c6a010 100644
for (i = 8; i < RTMP_SIG_SIZE; i++)
serversig[i] = 0xff;
#else
-@@ -3553,7 +3553,7 @@ RTMPSockBuf_Send(RTMPSockBuf *sb, const char *buf, int len)
+@@ -4298,7 +4298,7 @@ RTMPSockBuf_Send(RTMPSockBuf *sb, const char *buf, int len)
{
int rc;