Remove some useless assignments (the UDPContext is allocated with av_mallocz())
Originally committed as revision 11017 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d05cb726bd
commit
6b7089044a
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user