FFmpeg git repo
Go to file
Andriy Gelman c07a772473 lavc/cbs_h2645_syntax_template: Fix memleak
payload_count is used to track the number of SEI payloads. It is also
used to free the SEIs in cbs_h264_free_sei()/cbs_h265_free_sei().

Currently, payload_count is set after for loop is completed. Hence if
there is an error and the function exits, the payload remains zero
causing a memleak.

This commit keeps track of payload_count inside the for loop to fix the
issue. Note that that the contents of current are initialized with
av_mallocz() so there is no need to zero initialize payload_count.

Found-by: libFuzzer
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
2019-12-16 12:04:45 -03:00
compat
doc avfilter/vf_tinterlace: add support for bypassing already interlaced frames 2019-12-15 00:23:01 +01:00
ffbuild
fftools configure: Check for the SetDllDirectory and GetModuleHandle functions 2019-12-13 10:53:05 +02:00
libavcodec lavc/cbs_h2645_syntax_template: Fix memleak 2019-12-16 12:04:45 -03:00
libavdevice avdevice/xcbgrab: wrap non-shm image replies in a buffer ref 2019-12-06 10:09:49 +01:00
libavfilter avfilter/x86/vf_interlace: always use unaligned movs 2019-12-15 00:23:03 +01:00
libavformat avformat: Don't free old extradata before ff_alloc/get_extradata 2019-12-12 19:25:33 +01:00
libavresample
libavutil lavu/pixfmt: Cosmetics, remove wrong end-of-comment markers. 2019-12-14 16:09:41 +01:00
libpostproc
libswresample
libswscale swscale/swscale_unscaled: add AV_PIX_FMT_GBRAP10 for LE and BE conversion wrapper 2019-12-10 16:09:14 +01:00
presets
tests fate/cbs: use the rawvideo muxer for AV1 tests 2019-12-13 10:58:10 -03:00
tools tools/target_dec_fuzzer: Adjust threshold for dst 2019-12-15 01:01:22 +01:00
.gitattributes
.gitignore
.travis.yml
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog Changelog: add entry about MPEG-H 3D Audio support in mp4 2019-12-12 12:03:31 -03:00
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: add myself as libxavs2 maintainer 2019-12-07 19:34:57 +01:00
Makefile tools: add a fuzzer tool for bitstream filters 2019-12-05 20:49:15 -03:00
README.md
RELEASE
configure configure: Check for the SetDllDirectory and GetModuleHandle functions 2019-12-13 10:53:05 +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.