FFmpeg git repo
Go to file
Michael Niedermayer 5524362efb
avcodec/utils: fix 2 integer overflows in get_audio_frame_duration()
Fixes: signed integer overflow: 256 * 668003712 cannot be represented in type 'int'
Fixes: 59819/clusterfuzz-testcase-minimized-ffmpeg_dem_MATROSKA_fuzzer-4674636538052608

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 a4bf559683)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-04-14 21:19:25 +02:00
compat compat/cuda/ptx2c: remove shell loop; fix BSD sed compat 2020-06-01 22:10:41 -05:00
doc Update for FFmpeg 4.3.6 2023-04-16 02:22:28 +02:00
ffbuild common.mak: Also clean Windows debug files. 2020-03-21 18:46:00 +01:00
fftools fftools/ffplay: do not write out of rdft visualization texture 2021-03-28 01:14:33 +01:00
libavcodec avcodec/utils: fix 2 integer overflows in get_audio_frame_duration() 2024-04-14 21:19:25 +02:00
libavdevice Bump minor versions to separate 4.3 from master 2020-06-08 22:49:04 +02:00
libavfilter avfilter/vf_untile: swap the chroma shift values used for plane offsets 2023-03-16 17:10:43 -03:00
libavformat avformat/oggparsetheora: clip duration within 64bit 2024-04-14 21:19:23 +02:00
libavresample
libavutil avutil/mathematics: Document av_rescale_rnd() behavior on non int64 results 2021-10-21 15:25:55 +02:00
libpostproc Bump minor versions to separate 4.3 from master 2020-06-08 22:49:04 +02:00
libswresample swresample/audioconvert: Fix left shift of negative value 2021-02-27 07:20:58 +01:00
libswscale swscale/input: Use more unsigned intermediates 2023-04-15 22:37:59 +02:00
presets
tests avcodec/snowenc: Fix visual weight calculation 2023-04-15 22:38:09 +02:00
tools tools/target_dec_fuzzer: Adjust threshold for MMVIDEO 2022-09-26 16:50:50 +02:00
.gitattributes
.gitignore
.mailmap mailmap: fix 3-address entries 2020-03-31 04:14:14 -05:00
.travis.yml
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS Use https for repository links 2023-04-15 22:38:08 +02:00
Changelog Update for FFmpeg 4.3.6 2023-04-16 02:22:28 +02:00
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: Add ED25519 key for signing my commits in the future 2022-09-26 16:50:51 +02:00
Makefile
README.md
RELEASE Update for FFmpeg 4.3.6 2023-04-16 02:22:28 +02:00
RELEASE_NOTES Update missed irc links 2021-10-06 14:41:41 +02:00
configure configure: update copyright year 2023-04-15 22:38:10 +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.