Darwin compilers default to PIC on, so -mdynamic-no-pic (which disables it
again) needs to be added to cflags before enable pic is checked.
Fixes compilation without --enable-shared at least the 10.6 system compiler
for x86-32.
Fixes speed regression on all darwin arches except x86-64.
Originally committed as revision 22730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Both bash and ksh abuse this variable even in POSIX mode, leading
to unpleasant surprises.
Originally committed as revision 22568 to svn://svn.ffmpeg.org/ffmpeg/trunk
This moves the H264-specific functions from DSPContext to the new
H264DSPContext. The code is made conditional on CONFIG_H264DSP
which is set by the codecs requiring it.
The qpel and chroma MC functions are not moved as these are used by
non-h264 code.
Originally committed as revision 22565 to svn://svn.ffmpeg.org/ffmpeg/trunk
This adds a "fate" make target which runs the full FATE test suite.
Individual tests can be run with "make fate-$testname".
The location of the FATE test samples must be specified with the
--samples=PATH option to configure.
The tests/fate-update.sh script regenerates the references files and
test list from the online FATE database. These are checked in since
generating them requires non-standard tools.
Originally committed as revision 22552 to svn://svn.ffmpeg.org/ffmpeg/trunk
This moves the DWT functions from snow.c and dsputil.c to a file of
their own. A new struct, DWTContext, holds the function pointers
previously part of DSPContext.
Originally committed as revision 22522 to svn://svn.ffmpeg.org/ffmpeg/trunk
This make NetBSD compile out of the box at the cost of a hack, but a
locally contained one that is preferable to the one used in the wild.
Currently the NetBSD FATE box adds -D_NETBSD_SOURCE to CPPFLAGS to work
around broken system headers. Since it is unlikely for NetBSD to fix their
headers, it is better to use a standard flag instead of a system-specific one.
As a sideeffect, this allows getting rid of a local _NETBSD_SOURCE definition.
Originally committed as revision 22486 to svn://svn.ffmpeg.org/ffmpeg/trunk
This disables all codecs, formats, etc. It saves some typing when
only a few components are desired.
Originally committed as revision 22443 to svn://svn.ffmpeg.org/ffmpeg/trunk
This makes it an error to not have a prototype in scope for
a function with external linkage. The flag is only enabled
for gcc due to -Werror=type not working with all compilers.
Originally committed as revision 22313 to svn://svn.ffmpeg.org/ffmpeg/trunk
Older versions accepted both with and without an '=', but newer versions
require the '=' to be omitted
Originally committed as revision 22274 to svn://svn.ffmpeg.org/ffmpeg/trunk
Turning on -Werror=implicit makes implicit function declarations
an error with supported compilers.
Originally committed as revision 22269 to svn://svn.ffmpeg.org/ffmpeg/trunk
This is a simplified / cleaned-up version of the SourceForge program:
http://sourceforge.net/projects/ffprobe/
Syntax / features may be different, in particular the options
-show_packets and -show_frames are not yet supported in this version.
Originally committed as revision 21936 to svn://svn.ffmpeg.org/ffmpeg/trunk
GCC is sometimes able to optimise constant calls to these functions,
incorrectly indicating that they exist. Unoptimised calls will then
fail to link.
Originally committed as revision 21749 to svn://svn.ffmpeg.org/ffmpeg/trunk
These are often, contrary to standards, implemented only as macros
or compiler-builtin functions without an actual symbol definition.
Originally committed as revision 21734 to svn://svn.ffmpeg.org/ffmpeg/trunk