]> granicus.if.org Git - rtmpdump/commitdiff
Silence spurious warning
authorhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Wed, 10 Mar 2010 19:27:06 +0000 (19:27 +0000)
committerhyc <hyc@400ebc74-4327-4243-bc38-086b20814532>
Wed, 10 Mar 2010 19:27:06 +0000 (19:27 +0000)
git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@329 400ebc74-4327-4243-bc38-086b20814532

librtmp/rtmp.c

index 343bae99c85b29fabcce24135690ce6527165514..a98da18bc4976ca3432ecc0a381ac4c32abca890 100644 (file)
@@ -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;