ffmpeg/libavutil
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
..
arm Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
avr32 Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
bfin Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
mips Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
ppc configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS. 2011-05-12 11:41:59 +02:00
sh4 Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
tomi Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
x86 bswap: use native types for av_bwap16(). 2011-04-22 20:05:48 -04:00
Makefile Remove unused softfloat implementation. 2011-05-11 13:43:30 +02:00
adler32.c
adler32.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
aes.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
aes.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
attributes.h Remove unnecessary icc version checks 2011-03-23 12:39:58 +00:00
audioconvert.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
audioconvert.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
avassert.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
avstring.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
avstring.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
avutil.h lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums 2011-04-26 08:38:57 +02:00
base64.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
base64.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
bswap.h bswap.h: Remove disabled code. 2011-04-29 20:01:04 +02:00
colorspace.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
common.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
cpu.c Add a CPU flag for the Atom processor. 2011-03-22 09:11:07 -04:00
cpu.h Add a CPU flag for the Atom processor. 2011-03-22 09:11:07 -04:00
crc.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
crc.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
crc_data.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
des.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
des.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
error.c error: sort, pack, and align error code and string definitions 2011-04-21 16:48:29 +02:00
error.h error: sort, pack, and align error code and string definitions 2011-04-21 16:48:29 +02:00
eval.c lavu: remove FF_API_OLD_EVAL_NAMES cruft 2011-04-19 19:03:44 +02:00
eval.h lavu: remove FF_API_OLD_EVAL_NAMES cruft 2011-04-19 19:03:44 +02:00
fifo.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
fifo.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
file.c lavu: remove misc disabled cruft 2011-04-19 19:04:28 +02:00
file.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
imgutils.c lavu: remove FF_API_OLD_IMAGE_NAMES cruft 2011-04-19 19:04:01 +02:00
imgutils.h lavu: remove FF_API_OLD_IMAGE_NAMES cruft 2011-04-19 19:04:01 +02:00
integer.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
integer.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
internal.h Ban strncpy() it's too easy to misuse. 2011-05-08 12:49:07 -07:00
intfloat_readwrite.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
intfloat_readwrite.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
intmath.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
intreadwrite.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
inverse.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
lfg.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
lfg.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
libavutil.v
libm.h Provide a fallback version of the libm function trunc 2011-04-21 14:13:09 +03:00
lls.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
lls.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
log.c log: Fix an oob array read. 2011-05-08 13:34:05 -07:00
log.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
lzo.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
lzo.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
mathematics.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
mathematics.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
md5.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
md5.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
mem.c Increase alignment of av_malloc() as needed by AVX ASM. 2011-04-26 18:18:22 +02:00
mem.h lavu: remove misc disabled cruft 2011-04-19 19:04:28 +02:00
opt.c AVOptions: make default_val a union, as proposed in AVOption2. 2011-05-10 20:22:06 +02:00
opt.h AVOptions: make default_val a union, as proposed in AVOption2. 2011-05-10 20:22:06 +02:00
parseutils.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
parseutils.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
pca.c Eliminate pointless '#if 1' statements without matching '#else'. 2011-04-26 20:18:27 +02:00
pca.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
pixdesc.c swscale: extend YUV422p support to 10bits depth 2011-05-11 14:38:14 +02:00
pixdesc.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
pixfmt.h swscale: fix YUV420P 9/10bit support. 2011-05-11 19:15:14 -04:00
random_seed.c lavu: remove disabled ff_random_get_seed cruft. 2011-04-19 21:50:12 +02:00
random_seed.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
rational.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
rational.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
rc4.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
rc4.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
samplefmt.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
samplefmt.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
sha.c lavu: remove disabled sha1 cruft. 2011-04-19 21:50:10 +02:00
sha.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
timer.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
tree.c Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
tree.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00
utils.c lavc: deprecate FF_*_TYPE macros in favor of AV_PICTURE_TYPE_* enums 2011-04-26 08:38:57 +02:00
x86_cpu.h Replace FFmpeg with Libav in licence headers 2011-03-19 13:33:20 +00:00