[rtmpdump] r483 - trunk/librtmp/rtmp.c
hyc
subversion at mplayerhq.hu
Mon May 24 15:29:06 CEST 2010
Author: hyc
Date: Mon May 24 15:29:05 2010
New Revision: 483
Log:
Cleanup declaration
Modified:
trunk/librtmp/rtmp.c
Modified: trunk/librtmp/rtmp.c
==============================================================================
--- trunk/librtmp/rtmp.c Mon May 24 15:28:35 2010 (r482)
+++ trunk/librtmp/rtmp.c Mon May 24 15:29:05 2010 (r483)
@@ -4090,9 +4090,9 @@ fail:
if (!(r->m_read.flags & RTMP_READ_RESUME))
{
char *mybuf = malloc(HEADERBUF), *end = mybuf + HEADERBUF;
+ int cnt = 0;
r->m_read.buf = mybuf;
r->m_read.buflen = HEADERBUF;
- int cnt = 0;
memcpy(mybuf, flvHeader, sizeof(flvHeader));
r->m_read.buf += sizeof(flvHeader);
More information about the rtmpdump
mailing list