diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-07-04 09:14:14 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-07-04 09:14:14 +0000 |
commit | cc74aafbc633e14005c562fd194ac85cd1d62fa8 (patch) | |
tree | d057a10e1c436199923fe81e47f2366915414c43 /libavformat | |
parent | d55e93e48b35513541ce6ac2a68def02545c358c (diff) | |
download | ffmpeg-cc74aafbc633e14005c562fd194ac85cd1d62fa8.tar.gz |
undefined local_port fix by (Giancarlo Formicuccia <ilsensine at inwind dot it>)
Originally committed as revision 2007 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/udp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c index cf14d4cb3c..c8d7379ba6 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -116,6 +116,7 @@ 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; p = strchr(uri, '?'); if (p) { s->is_multicast = find_info_tag(buf, sizeof(buf), "multicast", p); |