- 23 Oct, 2012 1 commit
-
-
Mans Rullgard authored
The absence of this function will only give a less informative string back from our fallback implementation of getnameinfo(). Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 17 Jul, 2012 1 commit
-
-
Diego Biurrun authored
-
- 15 Jul, 2012 2 commits
-
-
Martin Storsjö authored
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:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
This is useful if a proper getaddrinfo is loaded dynamically on windows, while using the fallback implementation of gai_strerror. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 30 Jun, 2012 3 commits
-
-
Martin Storsjö authored
The fallback function is a non-static function, we shouldn't be defining non-static functions outside of the proper ff/av prefix namespaces. This is especially important for a function like poll, which other parties (other libraries, or executables linking these libraries) also might provide similar but incompatible fallbacks for. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Martin Storsjö authored
The fds are unsigned integers in the windows definition of struct sockfds. Due to this, the comparison if (fds[i].fd > n) was always false. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
Ronald S. Bultje authored
io.h is required for open and _wopen, and fcntl.h is required for the O_CREAT flag. On mingw, fcntl.h is included by os_support.h (and the mingw fcntl.h includes io.h), but include it explicitly here since this implementation requires it. Also move the #undef open up. open must not be defined to ff_win32_open while including the headers that declare the open function. On mingw, this happened in os_support.h before open was redirected. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 26 Jun, 2012 1 commit
-
-
Ronald S. Bultje authored
Apparently this include is needed on some systems for building the poll fallback (for the timeval struct for select?), but it isn't available on all systems. Thus only include it if it exists. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 20 Jun, 2012 1 commit
-
-
Mans Rullgard authored
These files do not use anything provided by unistd.h. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 19 Jun, 2012 1 commit
-
-
Martin Storsjö authored
This avoids warnings. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 18 Feb, 2012 1 commit
-
-
Reimar Döffinger authored
In order to match Linux behaviour better our Windows-specific open() replacement should disable Windows default file locking. Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 06 Nov, 2011 1 commit
-
-
Martin Storsjö authored
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 02 Nov, 2011 1 commit
-
-
Diego Biurrun authored
-
- 12 May, 2011 1 commit
-
-
Diego Biurrun authored
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
-
- 23 Apr, 2011 1 commit
-
-
Kirill Gavrilov authored
All file names should be in UTF-8 within libavformat. This is handled by mapping the open() function to an internal one in os_support.h for windows. fopen() could be overridden in the same way, but if that would be used from ffmpeg.c, it would add a dependency on an ff prefixed internal lavf function. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- 19 Mar, 2011 1 commit
-
-
Mans Rullgard authored
Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 16 Feb, 2011 1 commit
-
-
Max Shakhmetov authored
Our poll implementation does not iterate over the pollfd array properly while setting the revents. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org> (cherry picked from commit 9ac2085d)
-
- 15 Feb, 2011 1 commit
-
-
Max Shakhmetov authored
Our poll implementation does not iterate over the pollfd array properly while setting the revents. Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
- 30 Jan, 2011 2 commits
-
-
Mans Rullgard authored
poll() is only used by networking code, so the fallback should only be built if networking is enabled. Also remove CONFIG_FFSERVER condition from the declarations. This should fix building on systems without poll(), broken by a8475bbd. Signed-off-by:
Mans Rullgard <mans@mansr.com> (cherry picked from commit 362d8f7d)
-
Luca Barbato authored
Select has limitations on the fd values it could accept and silently breaks when it is reached. (cherry picked from commit a8475bbd)
-
- 28 Jan, 2011 2 commits
-
-
Mans Rullgard authored
poll() is only used by networking code, so the fallback should only be built if networking is enabled. Also remove CONFIG_FFSERVER condition from the declarations. This should fix building on systems without poll(), broken by a8475bbd. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
Luca Barbato authored
Select has limitations on the fd values it could accept and silently breaks when it is reached.
-
- 06 Jul, 2010 1 commit
-
-
Måns Rullgård authored
Originally committed as revision 24072 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 08 Mar, 2010 1 commit
-
-
Måns Rullgård authored
This deprecated function is only used by ffserver, yet does not have a prototype visible there. In the long term, ffserver should be made IPv6-aware. In the meantime, this change removes cruft from lavf and fixes some warnings in ffserver. Originally committed as revision 22329 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 07 Mar, 2010 2 commits
-
-
David Conrad authored
Originally committed as revision 22285 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
David Conrad authored
Originally committed as revision 22284 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 28 Feb, 2010 1 commit
-
-
Reimar Döffinger authored
value to NULL on errors. Originally committed as revision 22122 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 08 Feb, 2010 1 commit
-
-
Ronald S. Bultje authored
by KO Myung-Hun <komh challion net>. Originally committed as revision 21692 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 25 Jan, 2010 1 commit
-
-
Martin Storsjö authored
Patch by Martin Storsjö <martin at martin dot st>. Originally committed as revision 21443 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 11 Jan, 2010 3 commits
-
-
Martin Storsjö authored
<$firstname()$firstname,st>. Originally committed as revision 21150 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
Martin Storsjö authored
Patch by Martin Storsjö <$firstname()$firstname,st>. Originally committed as revision 21145 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
Ronald S. Bultje authored
Storsjö <$firstname()$firstname,st>. Originally committed as revision 21143 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 08 Jan, 2010 1 commit
-
-
Martin Storsjö authored
only works correctly on little-endian. The attached patch makes it endian independent. Patch by Martin Storsjö <$firstname()$firstname,st>. Originally committed as revision 21080 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 13 Jan, 2009 1 commit
-
-
Aurelien Jacobs authored
They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 16 Aug, 2008 1 commit
-
-
Dave Yeo authored
patch by Dave Yeo daveryeo _at_ telus _dot_ net Originally committed as revision 14793 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 14 Aug, 2008 2 commits
-
-
Aurelien Jacobs authored
Originally committed as revision 14768 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
Aurelien Jacobs authored
Originally committed as revision 14766 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 13 Feb, 2008 1 commit
-
-
Luca Abeni authored
Originally committed as revision 11924 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 27 Dec, 2007 1 commit
-
-
Michael Kostylev authored
patch by Michael Kostylev, mik niipt ru Originally committed as revision 11324 to svn://svn.ffmpeg.org/ffmpeg/trunk
-
- 09 Dec, 2007 1 commit
-
-
Tom Harper authored
Patch by Tom Harper <d.thomas.harper <at> gmail.com> Originally committed as revision 11200 to svn://svn.ffmpeg.org/ffmpeg/trunk
-