[rtmpdump] r119 - trunk/rtmp.c
hyc
subversion at mplayerhq.hu
Mon Dec 28 00:01:33 CET 2009
Author: hyc
Date: Mon Dec 28 00:01:32 2009
New Revision: 119
Log:
Ignore zero-length packets during connect
Modified:
trunk/rtmp.c
Modified: trunk/rtmp.c
==============================================================================
--- trunk/rtmp.c Sun Dec 27 21:35:23 2009 (r118)
+++ trunk/rtmp.c Mon Dec 28 00:01:32 2009 (r119)
@@ -482,6 +482,8 @@ RTMP_ConnectStream(RTMP * r, double seek
{
if (RTMPPacket_IsReady(&packet))
{
+ if (!packet.m_nBodySize)
+ continue;
if ((packet.m_packetType == RTMP_PACKET_TYPE_AUDIO) ||
(packet.m_packetType == RTMP_PACKET_TYPE_VIDEO) ||
(packet.m_packetType == RTMP_PACKET_TYPE_INFO))
More information about the rtmpdump
mailing list