Ronald S. Bultje
4aecee7fc3
Fix compile error on mingw where ETIMEDOUT is missing (because it's a WSA error).
...
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
15 years ago
David Conrad
ac11d562e5
Localize the #define _SVID_SOURCE needed for inet_aton() to os_support.c
...
Originally committed as revision 22284 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
04a2b04b98
Implement gai_strerror() for systems lacking such functionality. Patch
...
by KO Myung-Hun <komh challion net>.
Originally committed as revision 21692 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
3d7b42f97b
Use the configure check from r21351 and use it to properly define struct
...
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
15 years ago
Martin Storsjö
5d629b72cb
Provide a fallback for getnameinfo() also. Patch by Martin Storsjö
...
<$firstname()$firstname,st>.
Originally committed as revision 21150 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
34a65f1fdd
Implement a fallback for struct sockaddr_storage if not available.
...
Patch by Martin Storsjö <$firstname()$firstname,st>.
Originally committed as revision 21149 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
fa053ca725
Provide fallback implementations of getaddrinfo() and freeaddrinfo().
...
Patch by Martin Storsjö <$firstname()$firstname,st>.
Originally committed as revision 21145 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
da837937c6
Fix undefined preprocessor directives warnings during 'make checkheaders'.
...
Originally committed as revision 16747 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
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 years ago
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Ramiro Polla
1642cb6b2e
Add initialization and cleanup functions for Winsock
...
Originally committed as revision 10040 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Ramiro Polla
6ff3f3e7ce
Check for winsock2.h instead of __MINGW32__
...
Originally committed as revision 9988 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
5676d140a9
initial mingw networking support
...
Originally committed as revision 9029 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
ba472aaf01
implement ff_socket_nonblock and use it in networking code
...
Originally committed as revision 8846 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Alex Beregszaszi
8da4034f52
use ff_neterrno() and FF_NETERROR() for networking error handling
...
Originally committed as revision 8845 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
François Revol
c9fdab0dab
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
18 years ago
Ramiro Polla
42572ef53f
move networking #includes into separate file
...
patch by Ramiro Polla angustia =a= arrozcru =d= no-ip =d= org
Originally committed as revision 7817 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
b9a73d8d2f
move adler32 to libavutil
...
Originally committed as revision 5731 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago