FFmpeg git repo
Go to file
Diego Biurrun 046f081b46 configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.
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-05-12 11:41:59 +02:00
doc configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
ffpresets Update qmin/qmax values for libx264 presets 2011-02-08 15:59:30 -08:00
libavcodec configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
libavdevice configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
libavfilter AVOptions: make default_val a union, as proposed in AVOption2. 2011-05-10 20:22:06 +02:00
libavformat configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
libavutil configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
libpostproc cosmetics: trim trailing whitespace in postproc 2011-05-08 13:33:23 -07:00
libswscale configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
tests swscale: fix YUV420P 9/10bit support. 2011-05-11 19:15:14 -04:00
tools Replace `` by $() syntax in shell scripts. 2011-04-23 17:45:05 +02:00
.gitignore Remove stray libavcore and _g binary references. 2011-04-23 14:23:20 +02:00
COPYING.GPLv2
COPYING.GPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
COPYING.LGPLv2.1
COPYING.LGPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
CREDITS partially rename FFmpeg to Libav 2011-03-16 21:54:39 +01:00
Changelog Port SMPTE S302M audio decoder from FFmbc 0.3. 2011-05-11 17:25:06 +02:00
Doxyfile get rid of the last svn mentions 2011-03-18 21:57:38 +01:00
INSTALL doc: clarify configure features 2011-04-07 02:54:12 +02:00
LICENSE cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
Makefile Implement fate-rsync target 2011-05-03 19:21:30 +02:00
README cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
cmdutils.c ffplay: add a dummy option -i so that it is easy to switch between ffmpeg -i "file" and ffplay -i "file". 2011-05-11 07:32:36 +02:00
cmdutils.h cmdutils: remove list_fmts(), simplify 2011-05-10 07:14:13 +02:00
cmdutils_common_opts.h Implement a -pix_fmts option for listing all the supported pixel 2009-12-21 21:53:03 +00:00
common.mak Include dependencies for test programs 2011-03-31 12:01:27 +01:00
configure configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
ffmpeg.c configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
ffplay.c configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
ffprobe.c Lowercase all ff* program names. 2011-04-23 19:12:24 +02:00
ffserver.c configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
ffserver.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
subdir.mak Remove support for stripping executables 2011-03-29 22:05:04 +01:00
version.sh get rid of the last svn mentions 2011-03-18 21:57:38 +01:00

README

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.