undefined local_port fix by (Giancarlo Formicuccia <ilsensine at inwind dot it>)

Originally committed as revision 2007 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2003-07-04 09:14:14 +00:00
parent d55e93e48b
commit cc74aafbc6
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ static int udp_open(URLContext *h, const char *uri, int flags)
h->priv_data = s; h->priv_data = s;
s->ttl = 16; s->ttl = 16;
s->is_multicast = 0; s->is_multicast = 0;
s->local_port = 0;
p = strchr(uri, '?'); p = strchr(uri, '?');
if (p) { if (p) {
s->is_multicast = find_info_tag(buf, sizeof(buf), "multicast", p); s->is_multicast = find_info_tag(buf, sizeof(buf), "multicast", p);