summaryrefslogtreecommitdiff
path: root/libavformat/udp.c
Commit message (Collapse)AuthorAge
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add sys/time.h header #include, fixes compilation on OS/2.Dave Yeo2008-12-12
| | | | | | patch by Dave Yeo, daveryeo telus net Originally committed as revision 16077 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bind to the multicast address if possibleJindřich Makovička2008-12-07
| | | | Originally committed as revision 16032 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Get rid of MSG_DONTWAIT using a more standard way to use a socketJindřich Makovička2008-11-17
| | | | | | | in a non blocked mode. Patch by Jindrich Makovicka: makovick gmail Originally committed as revision 15846 to svn://svn.ffmpeg.org/ffmpeg/trunk
* check for interrupt when receiving from socketJindřich Makovička2008-11-14
| | | | Originally committed as revision 15824 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow the UDP socket buffer size to be adjusted using aJindřich Makovička2008-11-12
| | | | | | | | 'buffer_size' URL option. Patch by Jindrich Makovicka, makovick at gmail dot com Originally committed as revision 15807 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix udp.c compilation with recent glibc (>= 2.8)Luca Abeni2008-08-25
| | | | Originally committed as revision 14963 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix memleak on some OSes in case network initialization fails. SeeRonald S. Bultje2008-08-23
| | | | | | "[PATCH] tcp.c/udp.c memleak?" for discussion. Originally committed as revision 14923 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix type of dest_addr_len to respect return value of udp_set_url.Luca Abeni2008-05-11
| | | | | | Patch by Luca Abeni. Originally committed as revision 13114 to svn://svn.ffmpeg.org/ffmpeg/trunk
* doxy header for udp protocolLuca Barbato2008-04-16
| | | | Originally committed as revision 12861 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the "multicast=" tag from UDP and RTP URLsLuca Abeni2008-04-15
| | | | Originally committed as revision 12830 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not use GNU-specific (or BSD-specific or whatever they may be)D Richard Felker III2008-02-11
| | | | | | | constants which are completely unneeded anyway. Note that 3 is a cheap integer bound for log10(1<<CHAR_BIT). Originally committed as revision 11902 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Include os_support.h only when neededLuca Abeni2007-11-21
| | | | Originally committed as revision 11073 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove perror() usage from udp.cLuca Abeni2007-11-19
| | | | Originally committed as revision 11059 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove some more duplicated codeLuca Abeni2007-11-15
| | | | Originally committed as revision 11038 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove the useless variable "my_addr1"Luca Abeni2007-11-15
| | | | Originally committed as revision 11037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use the same code to set local_port in the IPv4-only case and in theLuca Abeni2007-11-15
| | | | | | protocol-independet case Originally committed as revision 11036 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove some useless assignments (the UDPContext is allocated with av_mallocz())Luca Abeni2007-11-14
| | | | Originally committed as revision 11017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify set_remote_url(), and remove some code duplicationLuca Abeni2007-11-14
| | | | Originally committed as revision 11016 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use recv() instead of recvfrom() (removes some other differences betweenLuca Abeni2007-11-14
| | | | | | IPv4-only and protocol-independent code) Originally committed as revision 11015 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove a now unused fieldLuca Abeni2007-11-14
| | | | Originally committed as revision 11014 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give better names to multicast functions (they are not IPv6-only)Luca Abeni2007-11-14
| | | | Originally committed as revision 11013 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid to duplicate the multicast code between the IPv4-only andLuca Abeni2007-11-14
| | | | | | protocol-independent versions Originally committed as revision 11012 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove some ifdefs by using the "dest_addr_len" field in both the IPv4-onlyLuca Abeni2007-11-14
| | | | | | code and the protocol-independent code Originally committed as revision 11011 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Take the target address family in account when determining the family ofRonald S. Bultje2007-10-31
| | | | | | | | | the local address to bind. Fixes ffserver and UDP streaming without --disable-ipv6 on MacOS X Patch by Ronald S. Bultje (rsbultje st gmail dot com) Originally committed as revision 10883 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after last commitLuca Abeni2007-10-31
| | | | Originally committed as revision 10882 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Resolve hosts and bind sockets even when the local_port is not set (0)Nicolas George2007-10-31
| | | | | | | | Fixes ffserver on linux when "--disable-ipv6" is not used Patch by Nicolas George (nicolas dot george at normalesup dot org) Originally committed as revision 10881 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set UDP receive buffer to 64kRamiro Polla2007-08-16
| | | | Originally committed as revision 10129 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add initialization and cleanup functions for WinsockRamiro Polla2007-08-09
| | | | Originally committed as revision 10040 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurrences of AVERROR_IO with AVERROR(EIO).Panagiotis Issaris2007-07-19
| | | | Originally committed as revision 9760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some explanatory comments to #endif directives.Diego Biurrun2007-06-12
| | | | Originally committed as revision 9287 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused static function.Diego Biurrun2007-06-12
| | | | Originally committed as revision 9285 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use ff_neterrno() and FF_NETERROR() for networking error handlingAlex Beregszaszi2007-04-27
| | | | Originally committed as revision 8845 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change PF_INET to AF_INET to be consistent in the whole project. PF_INET is ↵Alex Beregszaszi2007-02-22
| | | | | | deprecated, while AF_INET is referred by the POSIX standards Originally committed as revision 8073 to svn://svn.ffmpeg.org/ffmpeg/trunk
* This fixes error handling for BeOS, removing the need for some ifdefs.François Revol2007-02-13
| | | | | | | | | AVERROR_ defines are moved to avcodec.h as they are needed in there as well. Feel free to move that to avutil/common.h. Bumped up avcodec/format version numbers as though it's binary compatible we will want to rebuild apps as error values changed. Please from now on use return AVERROR(EFOO) instead of the ugly return -EFOO in your code. This also removes the need for berrno.h. Originally committed as revision 7965 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move networking #includes into separate fileRamiro Polla2007-02-04
| | | | | | patch by Ramiro Polla angustia =a= arrozcru =d= no-ip =d= org Originally committed as revision 7817 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentationAurelien Jacobs2007-01-18
| | | | Originally committed as revision 7583 to svn://svn.ffmpeg.org/ffmpeg/trunk
* The long awaited BeOS cleanup, phase 1.1: removed useless ifdef, changed ↵François Revol2007-01-18
| | | | | | check for net_server to IP_MULTICAST_TTL. Originally committed as revision 7582 to svn://svn.ffmpeg.org/ffmpeg/trunk
* The long awaited BeOS cleanup, phase 1François Revol2007-01-18
| | | | Originally committed as revision 7581 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make it possible to reuse UDP socket (optional, disabled by default)Thijs2006-10-28
| | | | | | | | | Patch by Thijs % thijsvermeir A telenet P be % Original thread: Subject: Re: [Ffmpeg-devel] [PATCH proposal] Reuse UDP socket v2 Date: October 28, 2006 11:09:00 AM CEDT Originally committed as revision 6825 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-07
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix some signedness warningsMåns Rullgård2006-09-27
| | | | Originally committed as revision 6355 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add const to (mostly) char* and make some functions static, which aren't usedStefan Huehner2006-06-18
| | | | | | | outside their declaring source file and which have no corresponding prototype. patch by Stefan Huehner stefan^^@^^huehner^^.^^org Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* FreeBSD ipv6 multicast patch from ports treeAlex Beregszaszi2005-08-12
| | | | Originally committed as revision 4507 to svn://svn.ffmpeg.org/ffmpeg/trunk
* udp ipv6 localhost resolving patch by ("Hans Zandbelt": Hans Zandbelt, ↵Hans Zandbelt2005-07-21
| | | | | | telin nl) Originally committed as revision 4463 to svn://svn.ffmpeg.org/ffmpeg/trunk
* printf-> av_log patch by (Benjamin Larsson, banan: student ltu se)Benjamin Larsson2005-07-13
| | | | Originally committed as revision 4437 to svn://svn.ffmpeg.org/ffmpeg/trunk