[SCM] libav/experimental: Remove some useless assignments (the UDPContext is allocated with av_mallocz())

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:09:27 UTC 2013


The following commit has been merged in the experimental branch:
commit 6b7089044aff5eaa7012df06dc336df7a7a38471
Author: Luca Abeni <lucabe72 at email.it>
Date:   Wed Nov 14 08:22:06 2007 +0000

    Remove some useless assignments (the UDPContext is allocated with av_mallocz())
    
    Originally committed as revision 11017 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/udp.c b/libavformat/udp.c
index c1ff2b1..7d2529b 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -309,9 +309,6 @@ 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;
-    s->reuse_socket = 0;
     p = strchr(uri, '?');
     if (p) {
         s->is_multicast = find_info_tag(buf, sizeof(buf), "multicast", p);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list