- 16 7月, 2012 3 次提交
-
-
由 Martin Storsjö 提交于
Even if linking directly to getaddrinfo, use our version of gai_strerror instead of the system's version. Microsoft explicitly documents that their version of gai_strerror is thread-unsafe. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
This avoids warnings if there already exists a definition. This is the case on windows, where the getaddrinfo isn't available and linked to (and we use our fallbacks instead, which actually try to use the proper getaddrinfo version if found at runtime), but gai_strerror still exists as a define. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
This is useful if a proper getaddrinfo is loaded dynamically on windows, while using the fallback implementation of gai_strerror. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 26 6月, 2012 2 次提交
-
-
由 Ronald S. Bultje 提交于
Since the errno.h values don't match the error codes that winsock returns, map the winsock error codes to the errno ones, to make sure explicit checks against AVERROR(x) match. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
This heaader is required for close() for sockets in network code. For winsock, the equivalent function is defined in the winsock2.h header. This avoids having the HAVE_UNISTD_H in all files dealing with raw sockets. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 20 6月, 2012 1 次提交
-
-
由 Martin Storsjö 提交于
This avoids warnings. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 04 2月, 2012 1 次提交
-
-
由 Vincent Torri 提交于
Reviewed-by: NRamiro Polla <ramiro.polla@gmail.com> Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
-
- 08 11月, 2011 1 次提交
-
-
由 Martin Storsjö 提交于
This is to make developers aware of the fact that they will start using the new init function at some point. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 05 11月, 2011 2 次提交
-
-
由 Martin Storsjö 提交于
If the application hasn't set up mutex callbacks, we set up our own using pthreads (or w32pthreads). Signed-off-by: NMartin Storsjö <martin@martin.st>
-
由 Martin Storsjö 提交于
Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 05 6月, 2011 1 次提交
-
-
由 Diego Biurrun 提交于
This fixes 'make checkheaders'.
-
- 26 5月, 2011 1 次提交
-
-
由 Diego Biurrun 提交于
-
- 28 4月, 2011 1 次提交
-
-
由 Gil Pedersen 提交于
Previously, the function would lead to an infinite wait (by returning AVERROR(EAGAIN)) on sockets indicating an error via either of these poll flags. Signed-off-by: NMartin Storsjö <martin@martin.st>
-
- 08 4月, 2011 1 次提交
-
-
由 Luca Barbato 提交于
Fix compilation on systems without poll()
-
- 07 4月, 2011 1 次提交
-
-
由 Luca Barbato 提交于
Support the URL_FLAG_NONBLOCK semantic and uniform the protocol. The quick retry loop is already part of retry_transfer_wrapper. The polling routine is common to the network protocols: udp, tcp and, once merged, sctp.
-
- 19 3月, 2011 1 次提交
-
-
由 Mans Rullgard 提交于
Signed-off-by: NMans Rullgard <mans@mansr.com>
-
- 24 2月, 2011 1 次提交
-
-
由 Martin Storsjö 提交于
Map EAGAIN and EINTR from ff_neterrno to the normal AVERROR() error codes. Provide fallback definitions of other errno.h network errors, mapping them to the corresponding winsock errors. This eases catching these error codes in common code, without having to distinguish between FF_NETERRNO(EAGAIN) and AVERROR(EAGAIN). This fixes roundup issue 2614, unbreaking blocking network IO on windows. Signed-off-by: NRonald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 28c4741a)
-
- 23 2月, 2011 1 次提交
-
-
由 Martin Storsjö 提交于
Map EAGAIN and EINTR from ff_neterrno to the normal AVERROR() error codes. Provide fallback definitions of other errno.h network errors, mapping them to the corresponding winsock errors. This eases catching these error codes in common code, without having to distinguish between FF_NETERRNO(EAGAIN) and AVERROR(EAGAIN). This fixes roundup issue 2614, unbreaking blocking network IO on windows. Signed-off-by: NRonald S. Bultje <rsbultje@gmail.com>
-
- 07 10月, 2010 3 次提交
-
-
由 Martin Storsjö 提交于
Not all users of this function will have a full struct sockaddr_storage available, and casting other sockaddrs to sockaddr_storage is wrong, while any sockaddr can be cast to a base sockaddr. Originally committed as revision 25388 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
由 Martin Storsjö 提交于
The header probably isn't the right permanent place for this function, but it is quite small, and consensus seems to be that it can stay in the header for now, instead of creating a new file network.c just for this one. Originally committed as revision 25387 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
由 Martin Storsjö 提交于
Originally committed as revision 25386 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 04 9月, 2010 1 次提交
-
-
由 Ronald S. Bultje 提交于
for broken OSes. This is included in rtsp.h, as opposed to os_support.h. Should fix OS/2 broken build on fate. Originally committed as revision 25035 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 16 4月, 2010 1 次提交
-
-
由 Ronald S. Bultje 提交于
This patch also changes FF_NETERROR() to be an AVERROR(), i.e. it is always negative, whereas it was previously positive. Originally committed as revision 22887 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 08 3月, 2010 1 次提交
-
-
由 David Conrad 提交于
Originally committed as revision 22284 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 09 2月, 2010 1 次提交
-
-
由 Ronald S. Bultje 提交于
by KO Myung-Hun <komh challion net>. Originally committed as revision 21692 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 21 1月, 2010 1 次提交
-
-
由 Martin Storsjö 提交于
sockaddr (in case it's not missing) so it always works on the system that we are defining it for, in a RFC-2553/3493-compliant way (i.e. containing a ss_family field). which is used in udp.c. Patch by Martin Storsjö <$firstname $firstname st>. Originally committed as revision 21352 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 12 1月, 2010 3 次提交
-
-
由 Martin Storsjö 提交于
<$firstname()$firstname,st>. Originally committed as revision 21150 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
由 Martin Storsjö 提交于
Patch by Martin Storsjö <$firstname()$firstname,st>. Originally committed as revision 21149 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
由 Martin Storsjö 提交于
Patch by Martin Storsjö <$firstname()$firstname,st>. Originally committed as revision 21145 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 24 1月, 2009 1 次提交
-
-
由 Diego Biurrun 提交于
Originally committed as revision 16747 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 19 1月, 2009 1 次提交
-
-
由 Diego Biurrun 提交于
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 14 1月, 2009 1 次提交
-
-
由 Aurelien Jacobs 提交于
They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 31 8月, 2008 1 次提交
-
-
由 Stefano Sabatini 提交于
Consistently apply this rule: the guard name is obtained from the filename by stripping the leading "lib", converting '/' and '.' to '_' and uppercasing the resulting name. Guard names in the root directory have to be prefixed by "FFMPEG_". Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 17 10月, 2007 1 次提交
-
-
由 Diego Biurrun 提交于
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 10 8月, 2007 1 次提交
-
-
由 Ramiro Polla 提交于
Originally committed as revision 10040 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 09 8月, 2007 1 次提交
-
-
由 Ramiro Polla 提交于
Originally committed as revision 9988 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 15 5月, 2007 1 次提交
-
-
由 Alex Beregszaszi 提交于
Originally committed as revision 9029 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 27 4月, 2007 2 次提交
-
-
由 Alex Beregszaszi 提交于
Originally committed as revision 8846 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
由 Alex Beregszaszi 提交于
Originally committed as revision 8845 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 24 3月, 2007 1 次提交
-
-
由 François Revol 提交于
Some more BeOS cleanup: check for arpa/inet.h; declare the prototype for inet_aton if not found; remove barpainet.h as it's not longer needed. Originally committed as revision 8488 to svn://svn.ffmpeg.org/ffmpeg/trunk
-