From 390fa990b3d4b84eaa22fbb3630f82f331cca10d Mon Sep 17 00:00:00 2001 From: hyc Date: Fri, 12 Mar 2010 07:38:17 +0000 Subject: [PATCH] Initialize port git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@333 400ebc74-4327-4243-bc38-086b20814532 --- librtmp/parseurl.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.40.0