Commit 03cf4c48 authored by michaelni's avatar michaelni

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2007 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e6e98a5e
......@@ -116,6 +116,7 @@ static int udp_open(URLContext *h, const char *uri, int flags)
h->priv_data = s;
s->ttl = 16;
s->is_multicast = 0;
s->local_port = 0;
p = strchr(uri, '?');
if (p) {
s->is_multicast = find_info_tag(buf, sizeof(buf), "multicast", p);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment