1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
Go to file
Luca Barbato 81bffae368 configure: Check for -no_weak_imports in ldflags on macOS
Recent versions of macOS provide more POSIX API (in particular,
clock_gettime) than previous versions and recent Apple toolchains
provide all that API, even when targeting older releases without
said API. Disallow linking to functions which might not be available
at runtime.

To actually have an effect, either add
--extra-cflags="-mmacosx-version-min=10.11" (or any other version
prior to 10.12) or set MACOSX_DEPLOYMENT_TARGET=10.11 when running
configure.

As a workaround for libav versions without this fix, one can
also add --extra-cflags="-mmacosx-version-min=10.11
-Werror=partial-availability" while running configure.

The -no_weak_imports flag is new in Xcode 8; in Xcode 7 it is not
supported. This is not an issue since Xcode 7 only ships with the
10.11 macOS SDK, which lacks clock_gettime.

Bug-Id: 1033

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-03-07 09:48:55 +02:00
avbuild build: Generalize yasm/nasm-related variable names 2017-03-01 10:18:15 +01:00
avtools build: Move cli tool sources to a separate subdirectory 2017-02-21 16:10:51 +01:00
compat compat/atomics: add typecasts in atomic_compare_exchange_strong() 2016-12-08 15:53:58 -05:00
doc build: Prefer NASM assembler over YASM 2017-03-07 08:32:37 +01:00
libavcodec pixlet: Fix architecture-dependent code and values 2017-03-06 18:15:02 -05:00
libavdevice build: Generate pkg-config files from Make and not from configure 2016-12-22 12:30:54 +01:00
libavfilter build: Generalize yasm/nasm-related variable names 2017-03-01 10:18:15 +01:00
libavformat Add Apple Pixlet decoder 2017-03-01 11:52:29 -05:00
libavresample build: Generalize yasm/nasm-related variable names 2017-03-01 10:18:15 +01:00
libavutil libavutil: add av_mod_uintp2 2017-03-01 11:23:19 -05:00
libswscale build: Generalize yasm/nasm-related variable names 2017-03-01 10:18:15 +01:00
presets
tests pixlet: Fix architecture-dependent code and values 2017-03-06 18:15:02 -05:00
tools build: Move entries related to building TOOLS to a subdirectory Makefile 2016-12-07 11:02:31 +01:00
.gitattributes
.gitignore build: Ignore generated .version files 2017-02-03 11:37:53 +01:00
.travis.yml build: Prefer NASM assembler over YASM 2017-03-07 08:32:37 +01:00
Changelog build: Prefer NASM assembler over YASM 2017-03-07 08:32:37 +01:00
configure configure: Check for -no_weak_imports in ldflags on macOS 2017-03-07 09:48:55 +02:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL
LICENSE Remove the legacy X11 screen grabber 2016-07-29 19:03:10 +02:00
Makefile build: Allow generating dependencies as a side-effect of assembling 2017-03-01 10:18:15 +01:00
README
README.md doc: Add travis badge 2015-09-14 00:19:08 +02:00
RELEASE Make the RELEASE file match with the most recent tag 2016-10-14 13:52:51 -04:00

Libav

Build Status

Libav is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides a mean to alter decoded Audio and Video through chain of filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libavresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • avconv is a command line toolbox to manipulate, convert and stream multimedia content.
  • avplay is a minimalistic multimedia player.
  • avprobe is a simple analisys tool to inspect multimedia content.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Conding examples are available in the doc/example directory.

License

Libav codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.