summaryrefslogtreecommitdiff
path: root/libavformat/tcp.c
Commit message (Collapse)AuthorAge
...
* Rename url_split to ff_url_splitMartin Storsjö2010-03-08
| | | | | | Since this function isn't in the public API, it should have an ff_ prefix. Originally committed as revision 22321 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't explicitly initialize networking in the tcp and udp protocolsMartin Storsjö2010-03-05
| | | | | | Networking is always initialized when opening protocols. Originally committed as revision 22227 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix BSD compile (PF_UNSPEC is not a standard define, AF_UNSPEC is).Ronald S. Bultje2010-01-27
| | | | Originally committed as revision 21490 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use getaddrinfo() instead of resolve_host(). Patch by Martin StorsjöMartin Storsjö2010-01-11
| | | | | | <$firstname()$firstname,st>. Originally committed as revision 21147 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use ff_neterrno instead of errno in tcp.c.Martin Storsjö2009-07-15
| | | | | | | | | | If ff_neterrno() is checked instead of errno, that's probably what should be used in the return value. As a sideeffect, this gives better compatibility with Windows (CE), where network errors aren't visible in errno.) patch by Martin Storsjö, martin martin st Originally committed as revision 19433 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add url_get_file_handle(), which is used to get the file descriptorRonald S. Bultje2009-03-03
| | | | | | | | | | | associated with the I/O handle (e.g. the fd returned by open()). See "[RFC] rtsp.c EOF support" thread. There were previously some URI-specific implementations of the same idea, e.g. rtp_get_file_handles() and udp_get_file_handle(). All of these are deprecated by this patch and will be removed at the next major API bump. Originally committed as revision 17779 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
* only include sys/select.h if present, fix mingw compilationBaptiste Coudurier2008-09-26
| | | | Originally committed as revision 15420 to svn://svn.ffmpeg.org/ffmpeg/trunk
* include sys/select.h to get select, according to posix 2001,Baptiste Coudurier2008-09-24
| | | | | | fix compilation on freebsd 5.5 Originally committed as revision 15406 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove check for @ in tcp.c which removes the authorization data from theRonald S. Bultje2008-08-24
| | | | | | | | actual hostname. This functionality already exists (and always existed) in url_split() and is therefore useless. See discussion in "[PATCH] tcp.c/udp.c memleak?" thread on ffmpeg-devel. Originally committed as revision 14946 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics after previous patches.Ronald S. Bultje2008-08-23
| | | | Originally committed as revision 14926 to svn://svn.ffmpeg.org/ffmpeg/trunk
* On failure, return directly because the fail: case does nothing. This alsoRonald S. Bultje2008-08-23
| | | | | | allows easier control of the actual return value. Originally committed as revision 14925 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move malloc() down until after all initializations, so that the resource isRonald S. Bultje2008-08-23
| | | | | | | only allocated if initialization worked. This means that on failure, we don't have to deallocate it. Originally committed as revision 14924 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
* Remove useless comments. See "[PATCH] tcp.c/udp.c memleak?" for discussion.Ronald S. Bultje2008-08-23
| | | | Originally committed as revision 14922 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set TCP protocol to is_streamed=1 as seeking is not possible.Diego Biurrun2008-03-05
| | | | | | Björn Axelsson, bjorn.axelsson intinor se Originally committed as revision 12338 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
* Add initialization and cleanup functions for WinsockRamiro Polla2007-08-09
| | | | Originally committed as revision 10040 to svn://svn.ffmpeg.org/ffmpeg/trunk
* MinGW returns EAGAIN instead of EINPROGRESSRamiro Polla2007-08-08
| | | | Originally committed as revision 9982 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
* implement ff_socket_nonblock and use it in networking codeAlex Beregszaszi2007-04-27
| | | | Originally committed as revision 8846 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
* move resolve_host from tcp.c to os_support.c as it is used widelyAlex Beregszaszi2007-04-26
| | | | Originally committed as revision 8834 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics in resolve_hostAlex Beregszaszi2007-04-26
| | | | Originally committed as revision 8833 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
* BeOS cleanupRamiro Polla2007-01-21
| | | | | | | | | Patch by Ramiro Polla % ramiro A lisha P ufsc P br % Original thread: date: Jan 20, 2007 8:56 PM subject: [Ffmpeg-devel] [PATCH] [RFC] change socket read and write functions Originally committed as revision 7613 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 1François Revol2007-01-18
| | | | Originally committed as revision 7581 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
* os2 thread, network and freetype2 support by (Paul Smedley | paulat a t ↵Michael Niedermayer2006-02-02
| | | | | | smedleydot d o t info) Originally committed as revision 4922 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
* Mac OS X 10.4 compilation fix by Steven M. Schultz <sms at 2BSD dot COM>Diego Biurrun2005-05-09
| | | | Originally committed as revision 4207 to svn://svn.ffmpeg.org/ffmpeg/trunk
* kill warnings patch by (Måns Rullgård <mru inprovide com>)Måns Rullgård2005-02-24
| | | | Originally committed as revision 3977 to svn://svn.ffmpeg.org/ffmpeg/trunk
* HTTP Authentication Patch by (Petr Doubek <doubek at vision dot ee dot ethz ↵Petr Doubek2004-08-12
| | | | | | | | dot ch>) tested and submitted by (Torsten Spindler <spindler at hbt dot arch dot ethz dot ch>) Originally committed as revision 3381 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sweeping change from -EIO -> AVERROR_IOMike Melanson2004-06-19
| | | | Originally committed as revision 3239 to svn://svn.ffmpeg.org/ffmpeg/trunk
* tcp select() check and enables pressing 'q' when reading/(writing) fromLeon van Stuivenberg2004-03-14
| | | | | | tcp/http in ffmpeg.c patch by (Leon van Stuivenberg <l dot vanstuivenberg at chello dot nl>) Originally committed as revision 2891 to svn://svn.ffmpeg.org/ffmpeg/trunk
* no read loop tcp/http and http CRLF fix by (Leon van Stuivenberg <l dot ↵Michael Niedermayer2004-03-14
| | | | | | vanstuivenberg at chello dot nl>) Originally committed as revision 2885 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix a very nasty problem with extra bytes appearing in TCP data streams.Philip Gladstone2003-09-29
| | | | | | | Whenever there was an EINTR/EAGAIN return, then a byte in the data stream would be duplicated!! This fix should allow ffserver to work again. Originally committed as revision 2317 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removed ctype.h headerFabrice Bellard2003-09-08
| | | | Originally committed as revision 2225 to svn://svn.ffmpeg.org/ffmpeg/trunk
* OSX and BeOS networking fix (socklen_t)François Revol2003-07-24
| | | | Originally committed as revision 2077 to svn://svn.ffmpeg.org/ffmpeg/trunk
* support aborting in TCPFabrice Bellard2003-07-17
| | | | Originally committed as revision 2061 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * UINTX -> uintx_t INTX -> intx_tZdenek Kabelac2003-02-11
| | | | Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
* renamed libav to libavformatFabrice Bellard2002-11-25
Originally committed as revision 1276 to svn://svn.ffmpeg.org/ffmpeg/trunk