changeset 2744:1435f0dbfb4b libavformat

Remove some useless assignments (the UDPContext is allocated with av_mallocz())
author lucabe
date Wed, 14 Nov 2007 08:22:06 +0000
parents a847a9eda9b2
children 0d82417b7a88
files udp.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/udp.c	Wed Nov 14 08:16:51 2007 +0000
+++ b/udp.c	Wed Nov 14 08:22:06 2007 +0000
@@ -309,9 +309,6 @@
 
     h->priv_data = s;
     s->ttl = 16;
-    s->is_multicast = 0;
-    s->local_port = 0;
-    s->reuse_socket = 0;
     p = strchr(uri, '?');
     if (p) {
         s->is_multicast = find_info_tag(buf, sizeof(buf), "multicast", p);