From: hyc Date: Fri, 12 Mar 2010 07:38:17 +0000 (+0000) Subject: Initialize port X-Git-Tag: v2.4~202 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=390fa990b3d4b84eaa22fbb3630f82f331cca10d;p=rtmpdump Initialize port git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@333 400ebc74-4327-4243-bc38-086b20814532 --- diff --git a/librtmp/parseurl.c b/librtmp/parseurl.c index c4b3525..98d722b 100644 --- a/librtmp/parseurl.c +++ b/librtmp/parseurl.c @@ -37,6 +37,7 @@ bool RTMP_ParseURL(const char *url, int *protocol, char **host, unsigned int *po Log(LOGDEBUG, "Parsing..."); *protocol = RTMP_PROTOCOL_RTMP; + *port = 0; playpath->av_len = 0; playpath->av_val = NULL; app->av_len = 0;