1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-03 05:10:03 +02:00
Go to file
Michael Niedermayer dd83573043 avcodec/g729postfilter: Clip gain before scaling with AGC_FAC1
The fixed point integer reference specifies the multiplication used
to have 16bit input and clips so we need to clip the input
The floating point implementation does not seem to do that.

Fixes: signed integer overflow: 6317568 * 410 cannot be represented in type 'int'
Fixes: 20492/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G729_fuzzer-5700189272932352

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 82d4c7b95e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-07-03 12:10:24 +02:00
compat
doc Update for FFmpeg 4.1.5 2020-01-06 16:38:20 +01:00
ffbuild
fftools fftools/ffmpeg: Fix integer overflow in duration computation in seek_to_start() 2020-07-03 12:10:23 +02:00
libavcodec avcodec/g729postfilter: Clip gain before scaling with AGC_FAC1 2020-07-03 12:10:24 +02:00
libavdevice Bump minor versions for branching 4.1 2018-11-02 00:15:32 +01:00
libavfilter avfilter/vf_aspect: Fix integer overflow in compute_dar() 2020-07-03 12:10:23 +02:00
libavformat avformat/thp: Require a video stream 2020-07-03 12:10:24 +02:00
libavresample
libavutil avutil/encryption_info: Don't pass NULL to memcpy 2020-07-01 22:25:36 +02:00
libpostproc postproc/postprocess_template: remove FF_REG_sp from clobber list 2019-01-21 07:53:26 +01:00
libswresample Bump minor versions for branching 4.1 2018-11-02 00:15:32 +01:00
libswscale swscale/yuv2rgb: Fix vertical dither offset with slices 2020-07-03 12:10:24 +02:00
presets
tests avcodec/fitsdec: Use lrint() 2020-01-06 15:03:15 +01:00
tools tools/target_dec_fuzzer: Free parser in case of avcodec_open2() failure 2020-01-06 11:30:42 +01:00
.gitattributes
.gitignore
.travis.yml
Changelog Update for FFmpeg 4.1.5 2020-01-06 16:38:20 +01:00
configure configure: bump year 2020-01-06 15:03:15 +01:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS
Makefile
README.md
RELEASE Update for FFmpeg 4.1.5 2020-01-06 16:38:20 +01:00
RELEASE_NOTES RELEASE_NOTES: Based on the version from 4.0 2018-11-02 01:36:21 +01:00

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.