[rtmpdump] r333 - trunk/librtmp/parseurl.c

hyc subversion at mplayerhq.hu
Fri Mar 12 08:38:18 CET 2010


Author: hyc
Date: Fri Mar 12 08:38:17 2010
New Revision: 333

Log:
Initialize port

Modified:
   trunk/librtmp/parseurl.c

Modified: trunk/librtmp/parseurl.c
==============================================================================
--- trunk/librtmp/parseurl.c	Fri Mar 12 06:04:10 2010	(r332)
+++ trunk/librtmp/parseurl.c	Fri Mar 12 08:38:17 2010	(r333)
@@ -37,6 +37,7 @@ bool RTMP_ParseURL(const char *url, int 
 	Log(LOGDEBUG, "Parsing...");
 
 	*protocol = RTMP_PROTOCOL_RTMP;
+	*port = 0;
 	playpath->av_len = 0;
 	playpath->av_val = NULL;
 	app->av_len = 0;


More information about the rtmpdump mailing list