Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-12configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun
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.
2011-04-24Handle unicode file names on windowsKirill Gavrilov
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>
2011-03-19Replace FFmpeg with Libav in licence headersMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-02-15os_support: fix poll() implementationMax Shakhmetov
Our poll implementation does not iterate over the pollfd array properly while setting the revents. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-01-28os_support: make poll() fallbacks conditional on CONFIG_NETWORKMans Rullgard
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 a8475bbdb64e638bd8161df9647876fd23f8a29a. Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-01-28os: replace select with pollLuca Barbato
Select has limitations on the fd values it could accept and silently breaks when it is reached.
2010-07-06os_support: include some headers only when neededMåns Rullgård
Originally committed as revision 24072 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08Move resolve_host() to ffserver.cMåns Rullgård
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
2010-03-07inet_aton needs _DARWIN_C_SOURCE on OS XDavid Conrad
Originally committed as revision 22285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07Localize the #define _SVID_SOURCE needed for inet_aton() to os_support.cDavid Conrad
Originally committed as revision 22284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-01Make our getaddrinfo implementation initialize "struct addrinfo" returnReimar Döffinger
value to NULL on errors. Originally committed as revision 22122 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-08Implement gai_strerror() for systems lacking such functionality. PatchRonald S. Bultje
by KO Myung-Hun <komh challion net>. Originally committed as revision 21692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-25Load the proper getaddrinfo functions from ws2_32.dll, if they're present.Martin Storsjö
Patch by Martin Storsjö <martin at martin dot st>. Originally committed as revision 21443 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11Provide a fallback for getnameinfo() also. Patch by Martin StorsjöMartin Storsjö
<$firstname()$firstname,st>. Originally committed as revision 21150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11Provide fallback implementations of getaddrinfo() and freeaddrinfo().Martin Storsjö
Patch by Martin Storsjö <$firstname()$firstname,st>. Originally committed as revision 21145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-11Use getaddrinfo(), if available, in resolve_host(). Patch by MartinRonald S. Bultje
Storsjö <$firstname()$firstname,st>. Originally committed as revision 21143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-08Currently, the replacement which is used if inet_aton isn't available,Martin Storsjö
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
2009-01-14Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs
They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-16struct timeval requires #include <sys/time.h>Dave Yeo
patch by Dave Yeo daveryeo _at_ telus _dot_ net Originally committed as revision 14793 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15use h_addr_list[0] instead of h_addr as this is the posix hostent field nameAurelien Jacobs
Originally committed as revision 14768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-15ensure we get explicit definition of various _XOPEN_SOURCE functions we useAurelien Jacobs
Originally committed as revision 14766 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-13Include poll.h instead of sys/poll.hLuca Abeni
Originally committed as revision 11924 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-27Check for the presence of sys/select.h and conditionally #include it.Michael Kostylev
patch by Michael Kostylev, mik niipt ru Originally committed as revision 11324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-12-09Fix compilation of os_support.c for MinGW with --disable-networkTom Harper
Patch by Tom Harper <d.thomas.harper <at> gmail.com> Originally committed as revision 11200 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-11-21Include os_support.h only when neededLuca Abeni
Originally committed as revision 11073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-08-08Check for winsock2.h instead of __MINGW32__Ramiro Polla
Originally committed as revision 9988 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-19use sscanf to parse addressBenoit Fouet
Originally committed as revision 9756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18remove useless checkBenoit Fouet
Originally committed as revision 9733 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-18fix emulated inet_aton so that it fails for invalid addressesJoakim Plate
patch by elupus: \elupus ecce se/ original thread: [FFmpeg-devel] [PATCH] emulated inet_aton doesn't fail for invalidaddresses date: 07/15/2007 12:40 AM Originally committed as revision 9731 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17MinGW has those include files.Ramiro Polla
Originally committed as revision 9707 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17Move av_gettime() back to lavf/utils.cRamiro Polla
Originally committed as revision 9706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-17MinGW has gettimeofday() since mingw-runtime-3.10Ramiro Polla
Originally committed as revision 9705 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-11Remove OS/2 supportRamiro Polla
Originally committed as revision 9586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-25Remove localtime_r implementation for systems that don't have it.Ramiro Polla
It is no longer used. Originally committed as revision 9425 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21r9095 invalidly removed the check for non-winsockAlex Beregszaszi
Originally committed as revision 9096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-21fix FD_SETSIZE handling in our poll() emulationAlex Beregszaszi
Originally committed as revision 9095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-15initial mingw networking supportAlex Beregszaszi
Originally committed as revision 9029 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-27implement ff_socket_nonblock and use it in networking codeAlex Beregszaszi
Originally committed as revision 8846 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26cosmetics: Remove trailing whitespace and tabs.Diego Biurrun
Originally committed as revision 8838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-26move resolve_host from tcp.c to os_support.c as it is used widelyAlex Beregszaszi
Originally committed as revision 8834 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-04-21remove possibly broken wince cruftAlex Beregszaszi
Originally committed as revision 8763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-24Some more BeOS cleanup: check for arpa/inet.h; declare the prototype for ↵François Revol
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
2007-02-15Make sure we don't try to emulate poll() when it's there if ↵François Revol
--disable-ffserver... 10l Originally committed as revision 7991 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15MinGW patch by <koyama AT infocity DOT co DOT jp>, reworked. Removed ↵François Revol
placeholder for winsock. Originally committed as revision 7990 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-15poll() emulation for BeOS, and maybe MinGW.François Revol
Originally committed as revision 7987 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-12-07use the standard INT64_C() macro for 64-bit constantsMåns Rullgård
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-15MinGW compilation fix, inet_aton and #includes depend on networking support.Diego Biurrun
Originally committed as revision 7081 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-15Move BeOS-specific code into os_support.c.Diego Biurrun
Originally committed as revision 7071 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-11-14simplifyMåns Rullgård
Originally committed as revision 7048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun
and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk