From: hyc Date: Wed, 10 Mar 2010 19:27:06 +0000 (+0000) Subject: Silence spurious warning X-Git-Tag: v2.4~206 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0682bb39b745fd7be9b1d5fd4e8c4d2eeb211ef7;p=rtmpdump Silence spurious warning git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@329 400ebc74-4327-4243-bc38-086b20814532 --- diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c index 343bae9..a98da18 100644 --- a/librtmp/rtmp.c +++ b/librtmp/rtmp.c @@ -2445,7 +2445,7 @@ RTMP_SendPacket(RTMP *r, RTMPPacket *packet, bool queue) hptr = AMF_EncodeInt32(hptr, hend, packet->m_nInfoField1); nSize = packet->m_nBodySize; - char *buffer = packet->m_body, *tbuf = NULL, *toff; + char *buffer = packet->m_body, *tbuf = NULL, *toff = NULL; int nChunkSize = r->m_outChunkSize; int tlen;