| Branch: | Revision:

ffmpeg / configure @ 9b4f1cdb

History | View | Annotate | Download (101 KB)

# Date Author Comment
f3e3f28e 04/12/2011 05:17 PM Luca Barbato

Error out if vaapi is not found

Make the behaviour consistent with the other external deps.

Signed-off-by: Anton Khirnov <>

f502ff3f 04/11/2011 11:55 AM Martin Storsjö

Add support for AMR-WB encoding via libvo-amrwbenc

The wrapper code is based on the libamr wrapper removed in SVN rev 19365.

Signed-off-by: Martin Storsjö <>

d89e738a 04/11/2011 11:55 AM Martin Storsjö

Add an AAC encoder by using the libvo-aacenc library

Signed-off-by: Martin Storsjö <>

f4f05c45 04/05/2011 07:09 AM Konstantin Pavlov

configure: tell user if libva is enabled like the rest of external libs.

Signed-off-by: Anton Khirnov <>

906fd030 04/03/2011 10:16 PM Mans Rullgard

fate: fix partial run when no samples path is specified

This restores the behaviour of running only the builtin
regression tests when no path to external samples is given.
aa3805a inadvertently broke this by always setting SAMPLES
to something. Using := makes the ifdef test work as expected...

1c69c79f 03/31/2011 12:38 PM Martin Storsjö

configure: Initial support for --target-os=symbian

Signed-off-by: Martin Storsjö <>

e0be794a 03/29/2011 09:05 PM Mans Rullgard

Remove support for stripping executables

Stripping is generally best left to package management tools, and
since unstripped copies are kept in the build tree, any arguments
about saving space (no matter how insignificant) are void.

Signed-off-by: Mans Rullgard <>

6d9f52b2 03/29/2011 06:31 PM Mans Rullgard

ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp

Signed-off-by: Mans Rullgard <>

c6f95144 03/28/2011 02:49 PM Stefano Sabatini

framebuffer device demuxer

Signed-off-by: Anton Khirnov <>

15d59d2c 03/27/2011 08:46 AM Brad

sndio support for playback and record

Signed-off-by: Anton Khirnov <>

7e75f9fe 03/25/2011 07:36 PM Mans Rullgard

configure: in check_ld, place new -l flags before existing ones

This fixes some library tests when --as-needed is in effect.

Signed-off-by: Mans Rullgard <>

5666a9f2 03/24/2011 10:45 PM Diego Elio Pettenò

When building for MinGW32 disable strict ANSI compliancy.

When -std=c99 is used, GCC defines STRICT_ANSI to hide non-ANSI
interfaces; on MinGW32, when this macro is defined, some functions that are
part of POSIX but not of Windows APIs are disabled, including strcasecmp()....

4a7e068b 03/24/2011 08:42 PM Mans Rullgard

configure: check for --as-needed support early

This moves the check for --as-needed linker support before all
library tests, ensuring consistent behaviour between the checks
and the actual link step.

Signed-off-by: Mans Rullgard <>

da21225a 03/24/2011 08:20 AM Martin Storsjö

configure: Don't explicitly disable ffplay or in/outdevices on dos

The normal dependency tracking system disables them just fine.

8bb605c1 03/24/2011 08:02 AM Martin Storsjö

configure: Remove the explicit disabling of ffserver

It is automatically disabled on both mingw and dos due to
the lack of fork.

1ff49c23 03/24/2011 07:57 AM Martin Storsjö

configure: Add fork as a dependency to ffserver

91bcad19 03/23/2011 12:38 PM Mans Rullgard

Disable 'attribute "foo" ignored' warnings from icc

ICC lies about the version of gcc it emulates, which results
in unsupported attributes sometimes being used. The warning
is an annoyance and should be disabled.

Signed-off-by: Mans Rullgard <>

b9d2f4a9 03/23/2011 09:59 AM Mans Rullgard

configure: get libavcodec version from new version.h header

This fixes shared library versioning after 3dd851c.

Signed-off-by: Mans Rullgard <>

15c5156d 03/23/2011 12:23 AM Martin Storsjö

configure: Set the correct lib target for arm/wince dlltool

The correct machine name for dlltool is arm-wince.

Signed-off-by: Luca Barbato <>

b58b9fa3 03/22/2011 11:07 AM Dave Yeo

Make sure kbhit() is in conio.h

Conio.h is a non-standard header and may not have kbhit()
prototyped. This fixes compile on OS/2 where the EMX version (we're
using a fork) of conio.h only has getch() and getche().

Signed-off-by: Mans Rullgard <>

77e41e04 03/21/2011 09:02 PM Martin Storsjö

configure: Add the -D parameter to the dlltool command

This is required for the generated .lib file to actually
be usable by MSVC.

Signed-off-by: Luca Barbato <>

417516f6 03/21/2011 07:22 PM Luca Barbato

Set the correct target for mingw64 dlltool

That fixes .lib creation for the win64 target.

cb48e245 03/20/2011 09:13 PM Panagiotis H.M. Issaris

Do no modify terminal parameters using termios.h

Remove usage of tcgetattr and tcsetattr to modify terminal
parameters, and rely on ctrl-c to stop instead of pressing 'q'.
On systems with conio.h, keep the old behavior.

Changing the terminal settings causes problems if multiple instances...

4538729a 03/20/2011 01:25 PM Mans Rullgard

Move sine windows to a separate file

These windows do not really belong in fft/mdct files and were
easily confused with the similarly named tables used by rdft.

Signed-off-by: Mans Rullgard <>

ec10a9ab 03/19/2011 03:39 PM Luca Barbato

configure: use dlltools instead of lib.exe

This way building ffmpeg on mingw won't require windows specific tools

8f1b06c8 03/19/2011 03:39 PM Luca Barbato

configure: check for SDL_Linked_Version instead of SDL_Init

This avoids the main/SDL_main declaration clash caused by SDL on
Windows and other platforms.

42cfb383 03/19/2011 03:24 PM Mans Rullgard

Remove Sonic experimental audio codec

Since initially committed in 2004, this codec has only been touched
for maintenanance. Functionally, it contains no novel ideas and
its intended audience is better served by existing mature codecs.

Signed-off-by: Mans Rullgard <>

fda299f0 03/18/2011 12:13 PM Konstantin Pavlov

configure: use -r option for pr when listing enabled config options.

This fixes ugliness when configure outputs its (empty) results on HPUX
(maybe some other UNIXes too):

Enabled indevs:
pr: -- empty file

Signed-off-by: Mans Rullgard <>

dff68563 03/16/2011 11:18 PM Sean McGovern

darwin: use -read_only_relocs flag only on 32-bit x86

Avoids the linker warning:
ld: warning: -read_only_relocs cannot be used with x86_64

Signed-off-by: Mans Rullgard <>

a03be6e1 03/16/2011 08:54 PM Janne Grunau


29ba0911 03/16/2011 08:54 PM Janne Grunau


also update the multiple inclusion guards in config.h|mak

070c5d0f 03/16/2011 08:54 PM Janne Grunau

partially rename FFmpeg to Libav

update mailing list references and irc channels in configure

a5444fee 03/12/2011 11:35 AM Mans Rullgard

Add CONFIG_AC3DSP symbol to simplify makefiles

Signed-off-by: Mans Rullgard <>

4fa18c56 03/11/2011 08:13 PM Mans Rullgard

configure: use pkg-config helpers

This makes existing pkg-config uses as well as the libsdl checks
use the new pkg-config helper functions, which should be more
robust against broken systems.

Signed-off-by: Mans Rullgard <>

3f8040db 03/11/2011 08:13 PM Mans Rullgard

configure: improve pkg-config support

This adds helper functions for checking packages with pkg-config
and managing the associated flags.

Note that pkg-config use is still discouraged due to widespread
poor practices resulting in broken flags in many situations. A...

edaf1ae2 03/11/2011 08:13 PM Mans Rullgard

configure: allow checking multiple functions in check_func_headers()

This makes it possible to pass a space-separated list of functions
to check_func_headers and check_lib2. If any function is missing,
none are enabled as available, so this should only be used for...

00ba041c 02/28/2011 02:55 AM Mans Rullgard

Use --sysroot flag for clang

Although not documented, clang does support the --sysroot flag, and it
does the right thing. Use this flag intead of -isysroot which only
applies to header file searches, not the linker.

Signed-off-by: Mans Rullgard <>

52b3cc60 02/26/2011 12:52 PM Reimar Döffinger

configure: document FATE_SAMPLES env var in --help text

Signed-off-by: Mans Rullgard <>

aa3805a4 02/26/2011 11:51 AM Mans Rullgard

fate: get samples location from env var if not explicitly set

Use the FATE_SAMPLES environment variable if samples location
is not set with the --samples configure option or on the make
command line.

Signed-off-by: Mans Rullgard <>

cc4e9d2a 02/25/2011 07:48 PM Dave Yeo

OS/2: lxlite should use stdout

This causes lxlite to use stdout instead of vioXXX
functions. This improves fate and build logs readability.
Affects OS/2 only.

Signed-off-by: Mans Rullgard <>

87f1355f 02/20/2011 01:20 PM Mans Rullgard

x86: check for AVX support

This adds configure and runtime checks for AVX support on x86 CPUs.

Signed-off-by: Mans Rullgard <>

737eb597 02/15/2011 03:18 PM Reinhard Tartler

Merge libavcore into libavutil

It is pretty hopeless that other considerable projects will adopt
libavutil alone in other projects. Projects that need small footprint
are better off with more specialized libraries such as gnulib or rather
just copy the necessary parts that they need. With this in mind, nobody...

3ad464bf 02/13/2011 09:00 PM Mans Rullgard

configure: fix non-standard regex used with expr

The colon operator of expr always anchors the pattern at the start
of the string. An explicit ^ in the pattern has unspecified
behaviour, so remove it.

Signed-off-by: Mans Rullgard <>

5d57846b 02/13/2011 04:22 PM Mans Rullgard

configure: report full gcc version string

This makes the cc_ident value, which is used in FATE reports, include
all interesting parts of the gcc version string.

Signed-off-by: Mans Rullgard <>

bb7a22b5 02/13/2011 04:22 PM Mans Rullgard

configure: add cleanws() function

This function removes leading and trailing spaces and collapses
multiple spaces into one.

Signed-off-by: Mans Rullgard <>

4b884207 02/11/2011 06:45 PM Mans Rullgard

configure: remove early check_deps $ARCH_EXT_LIST

The early disabling of irrelevant arch extensions is no longer
required, and removing it makes dependencies involving these
work as expected.

Signed-off-by: Mans Rullgard <>

f59c4bd6 02/08/2011 09:16 PM François Revol

Fix HOSTLIBS on Haiku

Haiku does not have a separate libm, so do not try to link to it.

Signed-off-by: François Revol <>
Signed-off-by: Mans Rullgard <>

48545a8f 02/06/2011 04:43 PM Anssi Hannula

configure: check yasm/nasm for working pextrd opcode

NASM versions older than 2.08 fail to build ffmpeg with several
"error: operation size not specified" errors but this is not caught in

Fix that by checking if "pextrd [eax], xmm0, 1" works in configure....

d33ed7b3 01/30/2011 01:05 AM Mans Rullgard

Enable native build on QNX/x86

d0f0f628 01/25/2011 08:32 PM Mans Rullgard

armcc: filter out non-gcc options from ASFLAGS

This allows passing armcc-specific flags with --extra-cflags without
choking the assembler.

Signed-off-by: Mans Rullgard <>

9d201b26 01/25/2011 08:32 PM Mans Rullgard

configure: add filter_out() function

This adds a function to filter out words matching a pattern
from a list.

Signed-off-by: Mans Rullgard <>

54fe299b 01/25/2011 01:42 PM Daniel Verkamp

configure: move network tests before results are needed

This moves network_extralibs setup before use so that the link tests
for network functions work correctly.

Signed-off-by: Mans Rullgard <>

5f3b8314 01/24/2011 01:59 AM Mans Rullgard

Add CFLAGS needed by PathScale compiler

The PathScale compiler miscompiles wrapping arithmetic without
these flags.

Signed-off-by: Mans Rullgard <>

a1e4b3f6 01/23/2011 09:33 PM Mans Rullgard

Disable symbol versioning on some BSDs

Dragonfly, NetBSD, and OpenBSD do not support symbol versioning
although our link test passes. Disable it explicitly for these

Signed-off-by: Mans Rullgard <>

4ad66441 01/21/2011 09:51 PM Mans Rullgard

Fix libavformat version extraction in configure

This fixes shared library builds broken by

Signed-off-by: Mans Rullgard <>

a210bce2 01/21/2011 08:54 PM Mans Rullgard

configure: better test for mktemp

Some variants of mktemp require a template, so provide one when
checking for the command. We already supply a template in the
subsequent uses of mktemp.

Thanks to Michael Kostylev.

Signed-off-by: Mans Rullgard <>

93bb9ff0 01/21/2011 08:47 PM Mans Rullgard

configure: simplify exit traps

This does the same thing and also fixes the trapping in
some (possibly broken) shells.

Suggested by Michael Kostylev.

Signed-off-by: Mans Rullgard <>

c2dd0e9e 01/21/2011 06:36 PM Mans Rullgard

Make demuxers auto-select parsers they need

This makes configure --disable-everything --enable-demuxer=foo
work as expected.

Signed-off-by: Mans Rullgard <>

f0f54c29 01/20/2011 06:01 PM Mans Rullgard

Make PNG test depend on PNG codec

Signed-off-by: Mans Rullgard <>

09a5c245 01/18/2011 10:17 PM Mans Rullgard

configure: fix mktemp test and fallback function

44caaa56 01/18/2011 08:48 PM Mans Rullgard

ARM: improve VFP ABI check

Recent gcc versions define ARM_PCS or __ARM_PCS_VFP to indicate the
VFP ABI in use, and ARM RVCT defines __SOFTFP
when using this ABI.
If none of these are defined, check $cross_prefix and $cc for the
substring "hardfloat", and finally fall back to a linker test. This...

b0c1b66a 01/18/2011 08:48 PM Mans Rullgard

armcc: suppress warning about hardfp compatibility

5a92140b 01/18/2011 08:48 PM Mans Rullgard

armcc: suppress 'assignment in condition' warning

ef4a6514 01/18/2011 08:48 PM Mans Rullgard

Replace ASMALIGN with .p2align

This macro has unconditionally used .p2align for a long time and
serves no useful purpose.

fb3c4ffc 01/18/2011 08:48 PM Mans Rullgard

configure: make $TMPE executable

This is required on systems where the linker does not change
the permissions of an existing output file.

fef2d661 01/18/2011 08:48 PM Mans Rullgard

Use -Bsymbolic for shared libs only, not executables

Some linkers fail if this flag is used when creating an executable file.
Since the flag is meaningful only for shared libraries, dropping it from
the main link flags is correct.

4a6a21f5 01/17/2011 09:13 PM Lou Logan

Change SVN to Git in configure

Changes "version from SVN" to "version from Git".

Signed-off-by: Janne Grunau <>

73f6d31e 01/05/2011 05:16 AM Daniel Verkamp

Win32 support for av_file_map()

Originally committed as revision 26221 to svn://

44b2784f 01/04/2011 02:00 PM Stefano Sabatini

Remove unnecessary dependency of ffprobe and ffserver on libswscale.

Originally committed as revision 26213 to svn://

6fd96d1a 01/04/2011 11:53 AM Justin Ruggles

Change the AC-3 encoder to use floating-point.
Fixed-point AC-3 encoder renamed to ac3_fixed.
Regression test acodec-ac3 renamed to acodec-ac3_fixed.
Regression test lavf-rm changed to use ac3_fixed encoder.

Originally committed as revision 26209 to svn://

ba763783 01/03/2011 10:56 AM Carl Eugen Hoyos

libavfilter does not depend on libswscale, only the scale filter does.

Originally committed as revision 26203 to svn://

6734f2c8 01/02/2011 04:24 PM Carl Eugen Hoyos

"Fix" compilation with --disable-swscale.

Originally committed as revision 26200 to svn://

b5670209 12/28/2010 01:01 AM Stefano Sabatini

Add copy filter, useful for testing the avfilter_draw_slice() copy

Originally committed as revision 26112 to svn://

cf69ad35 12/23/2010 05:24 PM Stefano Sabatini

Redesign the libopencv wrapper to make it more generic. Accept both

The same filter class will be used for managing all the libopencv
filtering functions.

Originally committed as revision 26079 to svn://

0328b9ea 12/22/2010 02:13 PM Stefano Sabatini

Add av_file_map() and av_file_unmap() functions.

Originally committed as revision 26073 to svn://

2b2a597e 12/18/2010 03:03 AM Ronald S. Bultje

AMR-WB decoder, written as part of Google Summer of Code 2010 by Marcelo
Galvão Póvoa <marspeoplester gmail com>, mentored by Robert Swain <robert
dot swain gmail com>.

Originally committed as revision 26051 to svn://

4f7d2fe2 12/16/2010 08:41 AM Martin Storsjö

configure: Avoid warnings if av_always_inline is disabled

This macro is disabled if --enable-small or --disable-optimizations are set.
Currently, this leads to warnings about functions being defined but not used,
for functions in header files.

By defining av_always_inline as inline or as av_unused, we avoid these...

9baec618 12/14/2010 08:34 AM Martin Storsjö

configure: Allow disabling symbol versioning via --disable-symver

Originally committed as revision 25944 to svn://

475ae04a 12/07/2010 02:50 PM Michael Chinen

Add a FLAC parser.
Seek test reference updated because FLAC seeking now works properly.
Fixes roundup issue 1150.

Patch by Michael Chinen [mchinen at gmail]

Originally committed as revision 25914 to svn://

a4dc7aa5 12/04/2010 01:03 PM Baptiste Coudurier

Port libmpcodecs hqdn3d filter.

Patch by Baptiste with some fixes by me.

Originally committed as revision 25880 to svn://

a42bb9d6 11/30/2010 09:41 PM Stefano Sabatini

Add missing dependencies for frei0r_src in configure.

Originally committed as revision 25857 to svn://

f1c7c6ae 11/04/2010 10:38 AM Carl Eugen Hoyos

Silence icc warning about unsupported option -Wno-parentheses

Originally committed as revision 25670 to svn://

136e19e1 11/02/2010 08:32 AM Janne Grunau

Add single stream LATM/LOAS decoder

The decoder is just a wrapper around the AAC decoder.
based on patch by Paul Kendall { paul <ät> kcbbs gen nz }

Originally committed as revision 25642 to svn://

5dd97520 10/26/2010 06:19 PM Jason Garrett-Glaser

Bump required x264 version to X264_BUILD 99
Required after r25567.

Originally committed as revision 25576 to svn://

44b70ce5 10/21/2010 12:18 PM Martin Storsjö

rtsp: Untangle the dependencies between the RTSP/SDP demuxers and RTSP muxer

This allows compilation of one of them without requiring the others'
dependencies to be present.

Originally committed as revision 25535 to svn://

44594cc7 10/19/2010 07:38 AM Martin Storsjö

Add a demuxer for receiving raw rtp:// URLs without an SDP description

The demuxer inspects the payload type of a received RTP packet and
handles the cases where the content is fully described by the payload type.

Originally committed as revision 25527 to svn://

01c8d258 10/13/2010 09:06 AM Martin Storsjö

Add a SAP demuxer

Originally committed as revision 25463 to svn://

68b79bfc 10/12/2010 09:22 AM Stefano Sabatini

Implement cropdetect filter.

Originally committed as revision 25447 to svn://

2aab70c4 10/09/2010 09:29 AM Martin Storsjö

sapenc: Declare a dependency on rtp_protocol, too

The SAP muxer uses network functions directly, uses the rtp protocol and the
udp protocol. The network functions and the udp protocol are both transitively
enabled via the rtp protocol, so that's the only dependency that needs to...

fcc7f404 10/08/2010 05:48 PM Martin Storsjö

sapenc: Mark the muxer as depending on network functions

Hide all code mentioning IPv6 behind HAVE_STRUCT_SOCKADDR_IN6.

Originally committed as revision 25415 to svn://

011071e7 10/08/2010 12:05 PM Martin Storsjö

Add a SAP (Session Announcement Protocol, RFC 2974) muxer

Originally committed as revision 25413 to svn://

9b9d3868 10/07/2010 08:38 AM Rafaël Carré

libmp3lame: don't check unused function in detection

hip_decode_init() isn't used by the wrapper, and can be absent from the
library if lame was configured with --disable-decoder (like it is done
for windows builds of VLC)

Unfortunately this also removes the way to detect a libmp3lame more recent...

3ece3e4c 10/06/2010 12:42 PM Martin Storsjö

Add RTP depacketization of the X-QT QuickTime format

Originally committed as revision 25371 to svn://

9fd5f39b 10/06/2010 12:30 PM Martin Storsjö

configure: Set _DARWIN_C_SOURCE while testing for struct ipv6_mreq

On OS X, this struct is only available if _DARWIN_C_SOURCE is defined,
when we have _POSIX_C_SOURCE defined. This allows the struct to be found,
enabling proper IPv6 multicast functionality on OS X....

6f74fb03 10/06/2010 01:26 AM Ramiro Polla

Check whether compiler supports xmm registers in asm clobber list

Originally committed as revision 25362 to svn://

038d46c9 10/05/2010 08:10 PM Martin Storsjö

configure: Consolidate rtsp/sdp deps to use _select

This makes e.g. --disable-everything --enable-demuxer=rtsp actually
enable the rtsp demuxer and everything else that is needed.

Originally committed as revision 25356 to svn://

a8d69098 10/05/2010 07:47 PM Martin Storsjö

configure: Add the http protocol as an auto-enabled dependency of the rtsp demuxer and muxer

Originally committed as revision 25355 to svn://

524aae86 10/03/2010 09:49 AM Víctor Paesa

Use SLIBSUF instead of .so, as a more generic dynamic library suffix.

Originally committed as revision 25321 to svn://

2e5ff4d0 09/28/2010 01:44 PM Stefano Sabatini

Group togheter filter dependency specifications.

Originally committed as revision 25245 to svn://

483480b5 09/27/2010 10:10 PM Måns Rullgård

Fix out of tree builds with vf_yadif and mmx

Originally committed as revision 25237 to svn://