[rtmpdump] r418 - trunk/librtmp/rtmp.c
hyc
subversion at mplayerhq.hu
Wed Apr 7 08:56:06 CEST 2010
Author: hyc
Date: Wed Apr 7 08:56:05 2010
New Revision: 418
Log:
HashSWF depends on CRYPTO
Modified:
trunk/librtmp/rtmp.c
Modified: trunk/librtmp/rtmp.c
==============================================================================
--- trunk/librtmp/rtmp.c Wed Apr 7 08:55:02 2010 (r417)
+++ trunk/librtmp/rtmp.c Wed Apr 7 08:56:05 2010 (r418)
@@ -677,9 +677,11 @@ bool RTMP_SetupURL(RTMP *r, char *url)
r->Link.tcUrl.av_len = strlen(url);
}
+#ifdef CRYPTO
if (r->Link.swfVfy && r->Link.swfUrl.av_len)
RTMP_HashSWF(r->Link.swfUrl.av_val, &r->Link.SWFSize,
(unsigned char *)r->Link.SWFHash, r->Link.swfAge);
+#endif
if (r->Link.port == 0)
{
@@ -3433,14 +3435,14 @@ Read_1_Packet(RTMP *r, char *buf, int bu
if (packet.m_packetType == 0x09 && nPacketLen <= 5)
{
- RTMP_Log(RTMP_LOGWARNING, "ignoring too small video packet: size: %d",
+ RTMP_Log(RTMP_LOGDEBUG, "ignoring too small video packet: size: %d",
nPacketLen);
ret = RTMP_READ_IGNORE;
break;
}
if (packet.m_packetType == 0x08 && nPacketLen <= 1)
{
- RTMP_Log(RTMP_LOGWARNING, "ignoring too small audio packet: size: %d",
+ RTMP_Log(RTMP_LOGDEBUG, "ignoring too small audio packet: size: %d",
nPacketLen);
ret = RTMP_READ_IGNORE;
break;
More information about the rtmpdump
mailing list