]> granicus.if.org Git - rtmpdump/commitdiff
Bump up play command buffer sizes
authorhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Mon, 14 Mar 2011 06:48:09 +0000 (06:48 +0000)
committerhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Mon, 14 Mar 2011 06:48:09 +0000 (06:48 +0000)
git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@560 400ebc74-4327-4243-bc38-086b20814532

rtmpsrv.c

index f2af85b85396f793dc0395f832f682c83cc7d547..4d5699f338dedfce22781a2ab5f47c4e0e7e9bd4 100644 (file)
--- a/rtmpsrv.c
+++ b/rtmpsrv.c
@@ -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; */