summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* configure: add -fPIE instead of -pie to C flags for ThreadSanitizerWan-Teh Chang2016-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | -pie was added to C flags for ThreadSanitizer in commit 19f251a2882a8d0779b432e63bf282e4d9c443bb. Under clang 3.8.0, the -pie flag causes a compiler warning and a linker error when running configure --toolchain=clang-tsan. Here is an excerpt from config.log: clang ... -fsanitize=thread -pie -std=c11 -fomit-frame-pointer -pthread -c -o /tmp/ffconf.hL61stP9.o /tmp/ffconf.YO6ZaSFG.c clang: warning: argument unused during compilation: '-pie' clang -fsanitize=thread -pie -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.W5c2e41l /tmp/ffconf.hL61stP9.o -lbz2 -pthread /usr/bin/ld: /tmp/ffconf.hL61stP9.o: relocation R_X86_64_PC32 against undefined symbol `atan2f@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value clang: error: linker command failed with exit code 1 (use -v to see invocation) To be conservative, I changed -pie to -fPIE. But the documentation seems to imply just -fsanitize=thread is enough: http://clang.llvm.org/docs/ThreadSanitizer.html https://github.com/google/sanitizers/wiki/ThreadSanitizerCppManual Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: fail if autodetect-libraries are requested but not foundAndreas Cadhalpun2016-12-101-22/+56
| | | | Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* configure: enable autodetected libraries after option parsingAndreas Cadhalpun2016-12-101-9/+9
| | | | | | | | And only enable them, if they haven't been disabled. This is needed for the following patch. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* configure: enable sdl if sdl2 is enabledAndreas Cadhalpun2016-12-101-1/+1
| | | | | | sdl is supposed to be an alias, so it should have the same value. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* configure: Require bit_depth field for VAAPI VP9 decode hwaccelMark Thompson2016-12-101-2/+2
| | | | | | | libva versions from 1.6.0 to 1.6.2 do not include it, and therefore cannot work with VP9 profile >= 2. Fixes ticket #6003.
* configure: check for strtoull on msvcJames Almer2016-12-051-0/+1
| | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* configure: Fix standalone compilation of the rtp muxer.Carl Eugen Hoyos2016-12-031-0/+1
| | | | | | Reported and suggested by: me at juneoh dot net Fixes ticket #5989.
* Add a compat dummy stdatomic.h used when threading is disabledAnton Khirnov2016-12-021-0/+3
| | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit eb34d40354e2474517c9b9bd787e0dadc89c2a81. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Add a compat stdatomic.h implementation based on pthreadsAnton Khirnov2016-12-021-0/+3
| | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit f9a6a80e065cdb95b233978f1d96ec9bc863daa1. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Add a compat stdatomic.h implementation based on suncc atomicsAnton Khirnov2016-12-021-0/+2
| | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit bb81ed476569b912a37ed553e756e123b6b13b14. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Add a compat stdatomic.h implementation based on windows atomicsAnton Khirnov2016-12-021-0/+2
| | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit c2755864afadfbaa349e8d583665c86fe99fa90b. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Add a compat stdatomic.h implementation based on GCC atomicsAnton Khirnov2016-12-021-0/+6
| | | | | | | | | | Adapted from the code by Rémi Denis-Courmont from VLC This merges libav commit 4e928ef340ac20325f529d92fcbc51e768085358. Signed-off-by: Wan-Teh Chang <wtc@google.com> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* lavfi/f_ebur128: relicense to LGPLClément Bœsch2016-11-271-1/+0
| | | | | | | | | | | | | | All copyright holders have agreed to the relicensing. Approved-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Approved-by: David Sedacca <sedacca@comcast.net> Approved-by: Ganesh Ajjanagadde <gajjanag@mit.edu> Approved-by: Jean First <jeanfirst@gmail.com> Approved-by: Kyle Swanson <k@ylo.ph> Approved-by: Michael Niedermayer <michael@niedermayer.cc> Approved-by: Nicolas George <george@nsup.org> Approved-by: Paul B Mahol <onemda@gmail.com> Approved-by: Thilo Borgmann <thilo.borgmann@mail.de>
* configure: check for stdatomic.hAnton Khirnov2016-11-271-1/+28
| | | | | | | | | | | | Since this is a C11 feature, it requires -std=c11. Not actually used for anything yet, that will be added in the following commits. This merges libav commit 13f5d2bf75b95a0bfdb9940a5e359a719e242bed. Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* cuda: check for cuda.h when enabledJames Almer2016-11-241-0/+2
| | | | | | | Fixes make checkheaders on systems without the Cuda Toolkit, which was broken after the dynlink changes. Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_zscale: add support for some recent new additionsPaul B Mahol2016-11-231-1/+1
| | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* configure: cuda is no longer nonfree, enable and autodetect by defaultTimo Rothenpieler2016-11-221-18/+6
|
* avcodec/nvenc: use dynamically loaded CUDATimo Rothenpieler2016-11-221-0/+1
|
* avutil/hwcontext_cuda: use dynamically loaded CUDATimo Rothenpieler2016-11-221-0/+2
|
* configure: properly add dxva2 link dependenciesHendrik Leppkes2016-11-161-1/+2
| | | | | | | Fixes building with --disable-everything --enable-shared --enable-dxva2 The hwcontext DXVA2 implementation in avutil needs this library now, instead of just the ffmpeg program.
* Merge commit '8c929037ec75fbe9f367e0a31ee34839e92de481'Hendrik Leppkes2016-11-141-3/+4
|\ | | | | | | | | | | | | * commit '8c929037ec75fbe9f367e0a31ee34839e92de481': build: Add a new component for H.264 parsing code Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * build: Add a new component for H.264 parsing codeDiego Biurrun2016-06-291-3/+4
| | | | | | | | | | This fixes standalone compilation of the SVQ3 decoder, which had incomplete dependencies related to H.264 parsing.
| * Add an OpenH264 decoder wrapperMartin Storsjö2016-06-281-0/+2
| | | | | | | | | | | | | | | | While it is less featureful (and slower) than the built-in H264 decoder, one could potentially want to use it to take advantage of the cisco patent license offer. Signed-off-by: Martin Storsjö <martin@martin.st>
| * lavfi: add a QSV scaling filterAnton Khirnov2016-06-211-0/+1
| |
| * Add MagicYUV decoderPaul B Mahol2016-06-201-0/+1
| | | | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | configure: use check_lib2 for cuda and cuvidHendrik Leppkes2016-11-131-2/+2
| | | | | | | | | | | | | | | | | | Fixes building for Windows x86 with MSVC using the link libraries distributed with the CUDA SDK. check_lib2 is required here because it includes the header to get the full signature of the function, including the stdcall calling convention and all of its arguments, which enables the linker to determine the fully qualified object name and resolve it through the import library, since the CUDA SDK libraries do not include un-qualified aliases.
* | lavfi/loudnorm: add an internal libebur128 libraryMarton Balint2016-11-111-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also contains the following changes to the library: - add ff_ prefix to functions - remove cplusplus defines. - add FF_ prefix to contants and some structs - remove true peak calculation feature, since it uses its own resampler, and af_loudnorm does not need it. - remove version info and some fprintf(stderr) functions - convert to use av_malloc - always use histogram mode for LRA calculation, otherwise LRA data is slowly consuming memory making af_loudnorm unfit for 24/7 operation. It also uses a BSD style linked list implementation which is probably not available on all platforms. So let's just remove the classic mode which not uses histogram. - add ff_thread_once for calculating static histogram tables - convert some functions to void which cannot fail - remove intrinsics and some unused headers - add support for planar audio - remove channel / sample rate changer function, in ffmpeg usually we simply alloc a new context - convert some static variables to defines - declare static histogram variables as aligned - convert some initalizations to mallocz - add window size parameter to init function and remove window size setter function - convert return codes to AVERROR - fix indentation Signed-off-by: Marton Balint <cus@passwd.hu>
* | avformat/avisynth.c: Use new safe dlopen code.Matt Oliver2016-11-051-5/+4
| | | | | | | | Signed-off-by: Matt Oliver <protogonoi@gmail.com>
* | configure: add '-uninstalled' to uninstalled .pc filesReynaldo H. Verdejo Pinochet2016-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | pkg-config(1) expects uninstalled pc files to follow the blah-uninstalled.pc naming convention and the behavior of the program is impacted by it. Without this fix overriding PKGP_CONFIG_LIBDIR is required to ensure uninstalled files are preferred (overkill), instead of just adding pc-uninstalled/ to the utility's search path by setting PKG_CONFIG_PATH accordingly. Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
* | avcodec/cuvid: Don't claim to decode h.263 (it doesn't)Philip Langdale2016-10-301-3/+0
| | | | | | | | Turns out cuvid doesn't support h.263.
* | configure: add missing fork() dependency to http_multiclient exampleJames Almer2016-10-291-1/+1
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | configure: make sure LTO does not optimize out the test functionsAndreas Cadhalpun2016-10-281-1/+7
| | | | | | | | | | | | | | | | Fixes trac ticket #5909 Bud-Id: https://bugs.gentoo.org/show_bug.cgi?id=598054 Acked-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | configure: remove missing incompatible_libav_abi referencesJames Almer2016-10-261-2/+0
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | configure: Remove --enable-incompatible-libav-abi from the help outputMichael Niedermayer2016-10-261-1/+0
| | | | | | | | | | | | | | As it does not work anymore since 655b6dcb34b25d591e15ede17673ea6cb8074711 Found-by: carl Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | openssl: Support version 1.1.0.Matt Oliver2016-10-211-1/+2
| | | | | | | | | | | | Fixes #5675 Signed-off-by: Matt Oliver <protogonoi@gmail.com>
* | lavc: add mpeg4 mediacodec decoderMatthieu Bouron2016-10-191-0/+2
| |
* | lavc: add vp8/vp9 mediacodec decodersMatthieu Bouron2016-10-191-0/+4
| |
* | configure: Enable pie for toolchain=hardened.Carl Eugen Hoyos2016-10-141-0/+2
| |
* | configure: fix detection of libopenjpegAndreas Cadhalpun2016-10-131-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Use check_lib2 to test the header together with the function. This is necessary, because '-DOPJ_STATIC' changes what the included header does. Also add '-DOPJ_STATIC' to CPPFLAGS, so that it isn't necessary to hardcode this in libavcodec/libopenjpeg{dec,enc}.c. Finally, check for non-static openjpeg 2.1, too. Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | configure: Use LDEXEFLAGS in check_ld().Carl Eugen Hoyos2016-10-121-1/+1
| | | | | | | | Avoids detecting libraries that are not compatible with ldexeflags.
* | configure: loongson disable mipsfpu and mipsdsp optimizationsZhou Xiaoyong2016-10-101-0/+3
| | | | | | | | | | | | | | | | The optimizations of mipsdsp are not supported by all loongson cpu. The optimizations of mipsfpu and mipsdspr2 maybe supported by 3A2000/3A3000/3A4000 but not tested yet. Loongson only support mmi (loongSIMD) optimizations now. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | configure: Also try -mstack-alignment for clang,Carl Eugen Hoyos2016-10-061-0/+1
| | | | | | | | | | Fixes stack alignment on x86_32 FreeBSD. Fixes ticket #5231.
* | configure: add linker export script support on DarwinRodger Combs2016-10-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This isn't a "version script" in the usual sense, since it doesn't set symbol versions directly. Instead, the version for the whole .dylib is set in the linker flags, and we generate a list of symbol patterns to export. This allows us to keep our local symbols (e.g. ff_*) local on the platform. The Darwin linker's exported_symbols_list format is a bit different than the one used by the GNU linker. It doesn't handle local symbols at all, since when a list is provided, all unlisted symbols are local by default; thus, we remove local sections. It doesn't handle per-version sections, so we remove the headers and brackets. It expects symbols to be prefixed with an underscore. It errors if a listed symbol with no wildcards is not present in the output, so we append an asterisk to any symbol that doesn't already end in one.
* | configure: define posix source on cygwinTimo Rothenpieler2016-10-021-0/+1
| | | | | | | | | | | | | | Some function definitions are missing without it, for example sigaction. Fixes ticket #5868
* | lavc: remove libfaac wrapperJosh de Kock2016-10-011-6/+0
| | | | | | | | | | | | | | | | | | | | | | There is really no need for two aac wrappers, we already have libfdk-aac which is better. Not to mention that faac doesn't even support HEv1, or HEv2. It's also under a license which is unusable for distribution, so it would only be useful to people who will compile their own ffmpeg, only use it themselves (which at that point should just use fdk-aac). Signed-off-by: Josh de Kock <josh@itanimul.li>
* | avcodec: add missing xmm/neon clobber test wrappers for the new encode APIJames Almer2016-10-011-0/+4
| | | | | | | | | | Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | doc/examples: build http_multiclient exampleClément Bœsch2016-09-301-0/+2
| |
* | build: remove references to inexistant avcodec exampleClément Bœsch2016-09-301-1/+0
| |
* | build: fix avio_dir_cmd and avio_reading example dependenciesClément Bœsch2016-09-301-2/+2
| |
* | build: sort EXAMPLE_LISTClément Bœsch2016-09-301-1/+1
| |
OpenPOWER on IntegriCloud