From 5bc2c62f9339e131f4c72b47f66948e5da294d29 Mon Sep 17 00:00:00 2001 From: hyc Date: Tue, 29 Dec 2009 22:56:25 +0000 Subject: [PATCH] Use m_outChunkSize git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@135 400ebc74-4327-4243-bc38-086b20814532 --- rtmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtmp.c b/rtmp.c index de918b2..07ea2cf 100644 --- a/rtmp.c +++ b/rtmp.c @@ -2217,7 +2217,7 @@ RTMP_SendPacket(RTMP * r, RTMPPacket * packet, bool queue) nSize = packet->m_nBodySize; char *buffer = packet->m_body; - int nChunkSize = RTMP_DEFAULT_CHUNKSIZE; + int nChunkSize = r->m_outChunkSize; Log(LOGDEBUG2, "%s: fd=%d, size=%d", __FUNCTION__, r->m_socket, nSize); while (nSize) -- 2.40.0