OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d05cb72
)
Remove some useless assignments (the UDPContext is allocated with av_mallocz())
author
Luca Abeni
<lucabe72@email.it>
Wed, 14 Nov 2007 08:22:06 +0000
(08:22 +0000)
committer
Luca Abeni
<lucabe72@email.it>
Wed, 14 Nov 2007 08:22:06 +0000
(08:22 +0000)
Originally committed as revision 11017 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/udp.c
patch
|
blob
|
history
diff --git
a/libavformat/udp.c
b/libavformat/udp.c
index
c1ff2b1
..
7d2529b
100644
(file)
--- 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);