[rtmpdump] r426 - trunk/librtmp/rtmp.c
hyc
subversion at mplayerhq.hu
Sun Apr 11 07:04:19 CEST 2010
Author: hyc
Date: Sun Apr 11 07:04:18 2010
New Revision: 426
Log:
cleanup: dTime -> iTime
Modified:
trunk/librtmp/rtmp.c
Modified: trunk/librtmp/rtmp.c
==============================================================================
--- trunk/librtmp/rtmp.c Sun Apr 11 07:02:58 2010 (r425)
+++ trunk/librtmp/rtmp.c Sun Apr 11 07:04:18 2010 (r426)
@@ -1702,7 +1702,7 @@ SendDeleteStream(RTMP *r, double dStream
SAVC(pause);
bool
-RTMP_SendPause(RTMP *r, bool DoPause, int dTime)
+RTMP_SendPause(RTMP *r, bool DoPause, int iTime)
{
RTMPPacket packet;
char pbuf[256], *pend = pbuf + sizeof(pbuf);
@@ -1720,18 +1720,18 @@ RTMP_SendPause(RTMP *r, bool DoPause, in
enc = AMF_EncodeNumber(enc, pend, ++r->m_numInvokes);
*enc++ = AMF_NULL;
enc = AMF_EncodeBoolean(enc, pend, DoPause);
- enc = AMF_EncodeNumber(enc, pend, (double)dTime);
+ enc = AMF_EncodeNumber(enc, pend, (double)iTime);
packet.m_nBodySize = enc - packet.m_body;
- RTMP_Log(RTMP_LOGDEBUG, "%s, %d, pauseTime=%d", __FUNCTION__, DoPause, dTime);
+ RTMP_Log(RTMP_LOGDEBUG, "%s, %d, pauseTime=%d", __FUNCTION__, DoPause, iTime);
return RTMP_SendPacket(r, &packet, true);
}
SAVC(seek);
bool
-RTMP_SendSeek(RTMP *r, int dTime)
+RTMP_SendSeek(RTMP *r, int iTime)
{
RTMPPacket packet;
char pbuf[256], *pend = pbuf + sizeof(pbuf);
@@ -1748,7 +1748,7 @@ RTMP_SendSeek(RTMP *r, int dTime)
enc = AMF_EncodeString(enc, pend, &av_seek);
enc = AMF_EncodeNumber(enc, pend, ++r->m_numInvokes);
*enc++ = AMF_NULL;
- enc = AMF_EncodeNumber(enc, pend, (double)dTime);
+ enc = AMF_EncodeNumber(enc, pend, (double)iTime);
packet.m_nBodySize = enc - packet.m_body;
More information about the rtmpdump
mailing list