FFmpeg git repo
Go to file
Zane van Iperen 769ab6b864
avformat/argo_brp: remove block_align check for audio
Causes a divide-by-zero in the rare case where:
- the file has an audio stream,
- the first audio frame isn't within the first BRP_BASF_LOOKAHEAD frames,
- an audio frame is encountered later, and
- its chunk header (except num_blocks) contains all zeros
   (matching the uninitialised structure in the context)

The decoder will discard any garbage data, so the check isn't really needed.

Fixes: division by 0
Fixes: 26667/clusterfuzz-testcase-minimized-ffmpeg_dem_ARGO_BRP_fuzzer-5645146928185344.fuzz

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
2020-11-05 07:58:06 +10:00
compat avfilter/scale_cuda: add lanczos algorithm 2020-11-04 01:43:21 +01:00
doc avfitler/af_asoftclip: add hard type 2020-11-03 12:30:19 +01:00
ffbuild
fftools fftools/ffmpeg: fix the wrong bitrate and speed stats 2020-10-31 09:49:10 +08:00
libavcodec avcodec/sonic: Don't hardcode sizeof(int) == 4 2020-11-04 21:30:56 +01:00
libavdevice avdevice/alldevices: stop using deprecated linked list API 2020-10-19 11:54:45 -03:00
libavfilter avfilter/scale_cuda: simplify linesize calculation 2020-11-04 20:00:35 +01:00
libavformat avformat/argo_brp: remove block_align check for audio 2020-11-05 07:58:06 +10:00
libavresample
libavutil avutil/hwcontext_cuda: fix edge case with non-even frame heights 2020-11-04 01:36:48 +01:00
libpostproc
libswresample swresample/audioconvert: Fix left shift of negative value 2020-09-30 10:50:45 +02:00
libswscale swscale/x86/yuv2rgb: fix crashes when loading alpha from unaligned buffers 2020-11-02 00:31:34 +01:00
presets
tests fate: Add test for Musepack SV8 decoding 2020-10-31 12:44:16 +01:00
tools tools/target_dec_fuzzer: adjust threshold for wmalossless 2020-10-25 09:49:56 +01:00
.gitattributes
.gitignore
.mailmap
.travis.yml
Changelog avcodec: add av1 VAAPI decoder 2020-11-02 22:57:23 +00:00
configure avcodec: add av1 VAAPI decoder 2020-11-02 22:57:23 +00:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: remove my public key fingerprint 2020-09-20 15:08:18 -08:00
Makefile Add support for building fuzzer tools for an individual demuxer 2020-10-12 21:01:48 +02: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.
  • 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.