[rtmpdump] r560 - trunk/rtmpsrv.c

hyc subversion at mplayerhq.hu
Mon Mar 14 07:48:10 CET 2011


Author: hyc
Date: Mon Mar 14 07:48:09 2011
New Revision: 560

Log:
Bump up play command buffer sizes

Modified:
   trunk/rtmpsrv.c

Modified: trunk/rtmpsrv.c
==============================================================================
--- trunk/rtmpsrv.c	Thu Mar 10 15:33:32 2011	(r559)
+++ trunk/rtmpsrv.c	Mon Mar 14 07:48:09 2011	(r560)
@@ -266,7 +266,7 @@ static int
 SendPlayStart(RTMP *r)
 {
   RTMPPacket packet;
-  char pbuf[384], *pend = pbuf+sizeof(pbuf);
+  char pbuf[512], *pend = pbuf+sizeof(pbuf);
 
   packet.m_nChannel = 0x03;     // control channel (invoke)
   packet.m_headerType = 1; /* RTMP_PACKET_SIZE_MEDIUM; */
@@ -298,7 +298,7 @@ static int
 SendPlayStop(RTMP *r)
 {
   RTMPPacket packet;
-  char pbuf[384], *pend = pbuf+sizeof(pbuf);
+  char pbuf[512], *pend = pbuf+sizeof(pbuf);
 
   packet.m_nChannel = 0x03;     // control channel (invoke)
   packet.m_headerType = 1; /* RTMP_PACKET_SIZE_MEDIUM; */


More information about the rtmpdump mailing list