Go to file
Andreas Rheinhardt 3ca1e31e63 fftools/cmdutils: Atomically add elements to list of pointers, fix crash
Currently, adding a (separately allocated) element to a list of pointers
works by first reallocating the array of pointers and (on success)
incrementing its size and only then allocating the new element.
If the latter allocation fails, the size is inconsistent, i.e.
array[nb_array_elems - 1] is NULL. Our cleanup code crashes in such
scenarios.

Fix this by adding an auxiliary function that atomically allocates
and adds a new element to a list of pointers.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-12-05 13:27:37 +01:00
compat Replace all occurences of av_mallocz_array() by av_calloc() 2021-09-20 01:03:52 +02:00
doc doc/APIchanges: fix typo 2021-12-04 14:28:09 +01:00
ffbuild
fftools fftools/cmdutils: Atomically add elements to list of pointers, fix crash 2021-12-05 13:27:37 +01:00
libavcodec avcodec/videotoolbox: fix use of unknown builtin '__builtin_available' 2021-12-04 08:32:31 +08:00
libavdevice avdevice/lavfi: Don't require AV_PIX_FMT_NONE == -1 2021-12-03 17:01:24 +01:00
libavfilter avfilter: add AVFILTER_FLAG_METADATA_ONLY 2021-12-04 14:07:19 +01:00
libavformat avformat: do not use AVIO_FLAG_* with avio_alloc_context 2021-12-04 14:06:30 +01:00
libavutil lavu/frame: clarify doxy 2021-12-04 14:29:06 +01:00
libpostproc libpostproc/postprocess_template: Don't reimplement FFSWAP 2021-10-02 17:13:42 +02:00
libswresample all: Remove unused-but-set variables 2021-12-03 16:09:14 +01:00
libswscale swscale/yuv2rgb: Silence a set-but-unused-variable warning 2021-12-03 16:10:51 +01:00
presets
tests fate/ffmpeg: Fix requirements of shortest tests 2021-12-02 17:44:27 +01:00
tools tools/target_dec_fuzzer: Adjust DXA threshold 2021-12-01 17:44:56 +01:00
.gitattributes
.gitignore
.mailmap
.travis.yml
Changelog Changelog: update with recent Vulkan filter additions 2021-12-02 11:08:58 +01:00
configure avfilter: add a flip_vulkan filter 2021-12-02 11:06:24 +01:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS
Makefile FATE: add a test for sliced scaling 2021-08-08 19:26:05 +02:00
README.md README: fix typo and description of libavfilter 2021-10-08 09:44:34 +05:30
RELEASE

FFmpeg README

FFmpeg 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 means to alter decoded audio and video through a directed graph of connected filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis 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

Coding examples are available in the doc/examples directory.

License

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

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process and will be ignored.