Commit 6b708904 authored by Luca Abeni's avatar Luca Abeni

Remove some useless assignments (the UDPContext is allocated with av_mallocz())

Originally committed as revision 11017 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d05cb726
...@@ -309,9 +309,6 @@ static int udp_open(URLContext *h, const char *uri, int flags) ...@@ -309,9 +309,6 @@ 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->local_port = 0;
s->reuse_socket = 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);
......
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