From 6b7089044aff5eaa7012df06dc336df7a7a38471 Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Wed, 14 Nov 2007 08:22:06 +0000 Subject: [PATCH] Remove some useless assignments (the UDPContext is allocated with av_mallocz()) Originally committed as revision 11017 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/udp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index c1ff2b181e..7d2529bcfe 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); -- GitLab