FFmpeg git repo
Go to file
Michael Niedermayer 77c7c10755
swscale/output: Avoid undefined overflow in yuv2rgb_write_full()
Fixes: signed integer overflow: -140140 * 16525 cannot be represented in type 'int'
Fixes: 68859/clusterfuzz-testcase-minimized-ffmpeg_SWS_fuzzer-4516387130245120

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit c221c7422f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-07-21 17:36:40 +02:00
compat compat/cuda: Change inclusion guards 2019-08-05 12:11:48 +02:00
doc doc/examples/vaapi_transcode: Simplify loop 2024-05-22 02:21:20 +02:00
ffbuild build: add support for building CUDA files with clang 2019-08-04 19:16:59 +02:00
fftools fftools/cmdutils: Add protective () to FLAGS 2024-06-13 19:58:05 +02:00
libavcodec avcodec/targaenc: Allocate space for the palette 2024-07-21 17:27:47 +02:00
libavdevice avdevice/xcbgrab: Check sscanf() return 2024-06-13 20:21:42 +02:00
libavfilter avfilter/vf_rotate: Check ff_draw_init2() return value 2024-06-13 22:17:40 +02:00
libavformat avformat/mxfdec: Check container_ul->desc before use 2024-07-21 17:22:27 +02:00
libavresample
libavutil avutil/tests/opt: Check av_set_options_string() for failure 2024-06-13 18:29:26 +02:00
libpostproc Bump minor versions to separate 4.2 from master 2019-07-21 18:36:18 +02:00
libswresample Bump minor versions to separate 4.2 from master 2019-07-21 18:36:18 +02:00
libswscale swscale/output: Avoid undefined overflow in yuv2rgb_write_full() 2024-07-21 17:36:40 +02:00
presets
tests fate/subtitles: Ignore line endings for sub-scc test 2024-04-14 22:12:50 +02:00
tools tools/cws2fws: Check read() for failure 2021-10-06 13:54:16 +02:00
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS Use https for repository links 2023-04-21 01:55:16 +02:00
Changelog Update for 4.2.9 2023-04-21 11:01:17 +02:00
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: Update the entries for the release maintainer for FFmpeg 2024-07-21 17:20:29 +02:00
Makefile
README.md
RELEASE Update for 4.2.9 2023-04-21 11:01:17 +02:00
RELEASE_NOTES Update missed irc links 2021-10-06 13:54:16 +02:00
configure configure: update copyright year 2024-06-15 00:38:21 +02:00

README.md

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.
  • 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.