[FFmpeg-cvslog] r11017 - trunk/libavformat/udp.c

lucabe subversion
Wed Nov 14 09:22:07 CET 2007


Author: lucabe
Date: Wed Nov 14 09:22:06 2007
New Revision: 11017

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


Modified:
   trunk/libavformat/udp.c

Modified: trunk/libavformat/udp.c
==============================================================================
--- trunk/libavformat/udp.c	(original)
+++ trunk/libavformat/udp.c	Wed Nov 14 09:22:06 2007
@@ -309,9 +309,6 @@ static int udp_open(URLContext *h, const
 
     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);




More information about the ffmpeg-cvslog mailing list