Go to file
Nuo Mi 3d2fafa229 avcodec/vvcdec: fix potential deadlock in report_frame_progress
Fixes:
https://fate.ffmpeg.org/report.cgi?slot=x86_64-archlinux-gcc-tsan&time=20240823175808

Reproduction steps:
./configure --enable-memory-poisoning --toolchain=gcc-tsan --disable-stripping && make fate-vvc

Root cause:
We hold the current frame's lock while updating progress for other frames,
which also requires acquiring other frame locks. This could potentially lead to a deadlock.
However, I don't think this will happen in practice because progress updates are one-way, with no cyclic dependencies.
But we need this patch to make FATE happy.
2024-09-03 21:32:27 +08:00
compat
doc lavu/opt: add API for retrieving array-type option values 2024-08-27 16:53:16 +02:00
ffbuild
fftools fftools/ffplay: handle flip in display matrix 2024-08-24 00:26:59 +08:00
libavcodec avcodec/vvcdec: fix potential deadlock in report_frame_progress 2024-09-03 21:32:27 +08:00
libavdevice configure: improve check for POSIX ioctl 2024-09-01 18:01:43 +02:00
libavfilter lavfi/af_aformat: convert to query_func2() 2024-09-02 11:55:22 +02:00
libavformat avformat/libzmq: fix check for zmq protocol prefix 2024-09-02 22:51:17 +02:00
libavutil lavu/opt: add API for retrieving array-type option values 2024-08-27 16:53:16 +02:00
libpostproc
libswresample
libswscale swscale/aarch64: cosmetics fix (spaces inside curly braces) 2024-08-26 11:07:49 +02:00
presets
tests lavc/opus*: move to opus/ subdir 2024-09-02 11:56:53 +02:00
tools tools/target_swr_fuzzer: Check av_samples_fill_arrays() for failure 2024-08-28 16:27:55 +02:00
.gitattributes
.gitignore
.mailmap
Changelog avcodec: add Mediacodec audio decoders support 2024-09-01 12:25:56 +02:00
configure configure: improve check for POSIX ioctl 2024-09-01 18:01:43 +02:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: Add webpage link to our mailing list page 2024-08-31 23:10:57 +02:00
Makefile
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 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.