FFmpeg git repo
Go to file
wm4 4ed66517c6 lavc: remove complex debug code around avcodec init locking
This is just a lot of complicated and confusing code that had no purpose
anymore.

Also, the functions return values were checked only sometimes. Locking
shouldn't fail anyway, so remove the return values. Barely any other
pthread lock calls check the return value (including more important code
that is more likely to fail horribly if locking fails).

It could be argued that it might be helpful in some debugging
situations, or when the user built FFmpeg without thread support against
all good advice.

But there are dummy atomics too, so the atomic check won't help with
ensuring correctness absolutely. You gain very little.

Also, for debugging, you can just raise the ASSERT_LEVEL, and then
libavutil/thread.h will redefine the locking functions to explicitly
check the return values.
2017-12-26 02:50:00 +01:00
compat w32pthreads: always use Vista+ API, drop XP support 2017-12-26 02:49:48 +01:00
doc lavc: replace and deprecate the lock manager 2017-12-26 02:50:00 +01:00
ffbuild Merge commit '17b6c7efb471e8ff1b8a7271f6531ba1d52bf69c' 2017-11-12 01:02:02 -03:00
fftools ffplay: drop lock manager use 2017-12-26 02:50:00 +01:00
libavcodec lavc: remove complex debug code around avcodec init locking 2017-12-26 02:50:00 +01:00
libavdevice lavd/alsa: Double maximum alsa buffer size. 2017-11-27 14:05:28 +01:00
libavfilter w32pthreads: always use Vista+ API, drop XP support 2017-12-26 02:49:48 +01:00
libavformat lavc, lavf: move avformat static mutex from avcodec to avformat 2017-12-26 02:50:00 +01:00
libavresample Merge commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5' 2017-10-21 14:57:53 -03:00
libavutil lavc: replace and deprecate the lock manager 2017-12-26 02:50:00 +01:00
libpostproc postproc: Drop deprecated qp typedef 2017-10-22 00:35:23 -03:00
libswresample lswr/rematrix: Support s32p. 2017-11-01 01:04:43 +01:00
libswscale Fix missing used attribute for inline assembly variables 2017-11-13 03:58:34 +01:00
presets
tests checkasm: support for AVX-512 functions 2017-12-24 22:02:41 +01:00
tools patcheck: Add 'threshhold' to common typo list 2017-12-13 12:25:44 +01:00
.gitattributes
.gitignore
.travis.yml Merge commit '4809781586d1c956005f72946a2aab5915eab350' 2017-10-28 15:08:31 -03:00
Changelog w32pthreads: always use Vista+ API, drop XP support 2017-12-26 02:49:48 +01:00
configure w32pthreads: always use Vista+ API, drop XP support 2017-12-26 02:49:48 +01:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: add myself as videotoolbox* maintainer 2017-11-13 19:54:20 +01:00
Makefile Makefile: fix distclean target 2017-11-14 10:09:40 -03:00
README.md
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 a mean to alter decoded Audio and Video through chain of 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.
  • ffserver is a multimedia streaming server for live broadcasts.
  • 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.