From: hyc Date: Mon, 14 Mar 2011 06:48:09 +0000 (+0000) Subject: Bump up play command buffer sizes X-Git-Tag: v2.4~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0a219ffeeb0094111fd00c509fce3ddd6eba2de2;p=rtmpdump Bump up play command buffer sizes git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@560 400ebc74-4327-4243-bc38-086b20814532 --- diff --git a/rtmpsrv.c b/rtmpsrv.c index f2af85b..4d5699f 100644 --- 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; */