FFmpeg git repo
Go to file
Andreas Rheinhardt 029cf6a91c avformat/flacenc: Fix memleak when writing attached pictures fails
The FLAC muxer currently stores an attached picture corresponding to an
AVStream in AVStream.priv_data. The AVPacket contained therein is
unreferenced after it has been written. The AVPacket structure itself is
then freed generically as AVStream.priv_data.

And this can lead to memleaks if an attached picture is not written:
It might be because the trailer is never written or because writing
a previous attached picture failed in case error_recognition is set
to explode.

Therefore free the packets properly (i.e. with av_packet_free())
in the muxer's deinit function.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-11-26 13:32:30 +01:00
compat avfilter/scale_cuda: add lanczos algorithm 2020-11-04 01:43:21 +01:00
doc avfilter/af_acrossover: add even more orders 2020-11-26 13:17:20 +01:00
ffbuild
fftools fftools/ffmpeg: fix the wrong bitrate and speed stats 2020-10-31 09:49:10 +08:00
libavcodec libdav1d: correctly copy ar_coeffs_uv to our struct 2020-11-26 01:08:03 +01:00
libavdevice avdevice/decklink_dec: fix warning for unused variable 2020-11-23 16:18:57 +08:00
libavfilter avfilter/af_acrossover: add missing inverter as last step 2020-11-26 13:17:20 +01:00
libavformat avformat/flacenc: Fix memleak when writing attached pictures fails 2020-11-26 13:32:30 +01:00
libavresample
libavutil hwcontext_vulkan: optionally enable more functionality 2020-11-25 23:14:47 +01:00
libpostproc
libswresample
libswscale lsws/x86/yuv2rgb: Fix compilation with mmxext or ssse3 disabled. 2020-11-14 15:37:57 +01:00
presets
tests fate: Convert the musepack8 test to an oneoff test 2020-11-17 23:47:31 +02:00
tools tools/target_bsf_fuzzer: set bitstream filter options 2020-11-20 19:20:33 -03:00
.gitattributes
.gitignore
.mailmap
.travis.yml
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog avcodec: add SpeedHQ encoder 2020-11-24 09:38:35 +01:00
INSTALL.md
LICENSE.md
MAINTAINERS avformat: add amv muxer 2020-11-09 14:58:38 +10:00
Makefile tools/enum_options: fix build and add to Makefile 2020-11-20 15:20:24 +01:00
README.md
RELEASE
configure avcodec/dxva2: add AV1 decode support 2020-11-12 15:55:16 +01: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.