[rtmpdump] r135 - trunk/rtmp.c

hyc subversion at mplayerhq.hu
Tue Dec 29 23:56:26 CET 2009


Author: hyc
Date: Tue Dec 29 23:56:25 2009
New Revision: 135

Log:
Use m_outChunkSize

Modified:
   trunk/rtmp.c

Modified: trunk/rtmp.c
==============================================================================
--- trunk/rtmp.c	Tue Dec 29 23:48:28 2009	(r134)
+++ trunk/rtmp.c	Tue Dec 29 23:56:25 2009	(r135)
@@ -2217,7 +2217,7 @@ RTMP_SendPacket(RTMP * r, RTMPPacket * p
 
   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)


More information about the rtmpdump mailing list