| Branch: | Revision:

ffmpeg / configure @ 487fef2d

History | View | Annotate | Download (100 KB)

# Date Author Comment
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://

13fabd7a 09/26/2010 09:36 PM Stefano Sabatini

Port MPlayer blackframe filter.

See thread:
Subject: [FFmpeg-devel] [PATCH] Port MPlayer blackframe filter.
Date: Sun, 26 Sep 2010 01:10:40 +0200

Originally committed as revision 25214 to svn://

b6c06894 09/26/2010 09:01 PM Måns Rullgård

configure: detect nasm vs yasm and set flags correspondingly

Originally committed as revision 25213 to svn://

2c1da681 09/25/2010 05:13 PM Måns Rullgård

Create libavfilter/$arch when building outside source tree

Originally committed as revision 25200 to svn://

acbac567 09/25/2010 04:43 PM Michael Niedermayer

yadif filter, based on stefanos port of my yadif from mplayer.
Compared to stefanos, 2 frame output works with ffplay.

Originally committed as revision 25196 to svn://

47941088 09/24/2010 12:32 AM Stefano Sabatini

Add frei0r filter.

See thread:
Subject: [FFmpeg-devel] [POC] frei0r wrapper
Date: Tue, 24 Aug 2010 21:37:32 +0200

Originally committed as revision 25165 to svn://

bdefad73 09/21/2010 05:57 PM Måns Rullgård

Disable ALIGNED_STACK with icc 10 or prior on x86_32

Originally committed as revision 25152 to svn://

59782b82 09/21/2010 05:57 PM Måns Rullgård

Add HAVE_ALIGNED_STACK config setting

This is set to 1 if the stack is guaranteed to be suitably aligned
for the strictest access mode of the machine.

Originally committed as revision 25151 to svn://

217d3d8f 09/18/2010 08:44 PM Måns Rullgård

Request 16-byte aligned stack with icc on x86_32

Originally committed as revision 25145 to svn://

8328ad13 09/17/2010 10:52 AM James Darnley

configure: print minimum lame version number required after revision 25128

Patch by James Darnley <james dot darnley at gmail dot com>.

Originally committed as revision 25139 to svn://

6de163e9 09/16/2010 03:25 PM Måns Rullgård

configure: detect Open64 compiler

Originally committed as revision 25135 to svn://

efec9ac8 09/15/2010 10:10 PM James Darnley

Allow float values for libmp3lame quality.

Patch by James Darnley, james D darnley A gmail

Originally committed as revision 25128 to svn://

180ec37d 09/14/2010 06:55 PM Måns Rullgård

Update pathscale compiler detection

Originally committed as revision 25122 to svn://

6ebf0bfc 09/14/2010 01:21 PM Stefano Sabatini

Implement libopencv smooth filter.

Originally committed as revision 25118 to svn://

55127e7b 09/03/2010 09:27 PM Måns Rullgård

Create config.asm for use with yasm

Originally committed as revision 25039 to svn://

0e5a7b91 09/03/2010 09:27 PM Måns Rullgård

configure: whitespace

Originally committed as revision 25038 to svn://

72cfcf41 09/03/2010 09:27 PM Måns Rullgård

configure: make print_config() more flexible

Originally committed as revision 25037 to svn://

613a4e3f 09/02/2010 09:41 PM Måns Rullgård

Detect llvm-gcc and set appropriate flags

Originally committed as revision 25028 to svn://

5c8ef670 09/02/2010 07:40 PM Måns Rullgård

Add -mllvm -stack-alignment=16 to CFLAGS when using clang

Originally committed as revision 25027 to svn://

db7515fd 08/26/2010 10:22 PM Måns Rullgård

configure: move config.fate creation after OS section

The OS label can be changed, and we want this to be reflected.

Originally committed as revision 24953 to svn://

6f9ea29e 08/26/2010 07:49 PM Måns Rullgård

configure: write config.fate file as early as possible

Originally committed as revision 24952 to svn://

25432e85 08/26/2010 07:15 PM Måns Rullgård

configure: improve error message for missing yasm

Originally committed as revision 24951 to svn://

9cca1e40 08/26/2010 06:29 PM Alex Converse

x86: Require yasm OR --disable-asm OR --disable-mmx OR --disable-yasm to build.

Originally committed as revision 24950 to svn://

e90aa6ed 08/26/2010 06:21 PM Måns Rullgård

Revert "Disable MMX for i686 and pentiumpro"

To avoid being burned at the stake by an angry mob, I am forced to
revert this commit.

Originally committed as revision 24949 to svn://

0a6cf0af 08/26/2010 01:46 PM Måns Rullgård

Disable MMX for i686 and pentiumpro

Originally committed as revision 24946 to svn://

bcafde61 08/26/2010 12:52 PM Måns Rullgård

configure: select warning suppression syntax based on armcc version

Release 4.1 changed the flag used to pass options through the gcc
translation layer. Detect which version is used, and choose the
appropriate flag.

Originally committed as revision 24945 to svn://

66ac25e2 08/24/2010 05:56 PM Janne Grunau

configure: enable fast_cmov for 'atom'

Originally committed as revision 24910 to svn://

a7638957 08/24/2010 04:52 PM Måns Rullgård

configure: fix typo in test deps

Originally committed as revision 24907 to svn://

c60a2d70 08/22/2010 12:03 PM Måns Rullgård

mmsh depends on http

Originally committed as revision 24867 to svn://