1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00
Go to file
Andreas Rheinhardt f9f3fd9387 avformat/avidec: Fix memleak with embedded GAB2 subtitles
The code for GAB2 subtitles predates refcounting AVPackets. So in order
to transfer the ownership of a packet's data pkt->data was simply stored
and the packet zeroed; in the end (i.e. in the read_close-function) this
data was then simply freed with av_freep(). This of course leads to a leak
of an AVBufferRef and an AVBuffer. It has been fixed by keeping and
eventually unreferencing the packet's buf instead.

Additionally, the packet is now reset via av_packet_unref().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit da44bbefaa)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-07-02 10:15:07 +02:00
compat compat: remove in-tree NVidia headers 2018-02-27 16:22:12 +01:00
doc Update for 4.0.6 2020-07-01 13:57:48 +02:00
ffbuild Merge commit '17b6c7efb471e8ff1b8a7271f6531ba1d52bf69c' 2017-11-12 01:02:02 -03:00
fftools fftools/ffmpeg: Fix integer overflow in duration computation in seek_to_start() 2020-07-01 13:33:44 +02:00
libavcodec avcodec/cavsdsp: Fix undefined left shifts of negative numbers 2020-07-02 10:15:06 +02:00
libavdevice avdevice/decklink_dec: unref packets on avpacket_queue_put error 2018-05-01 21:22:33 +02:00
libavfilter avfilter/vf_aspect: Fix integer overflow in compute_dar() 2020-07-01 13:33:44 +02:00
libavformat avformat/avidec: Fix memleak with embedded GAB2 subtitles 2020-07-02 10:15:07 +02:00
libavresample avresample: remove deprecated attribute from the AVAudioResampleContext struct 2018-01-09 10:56:53 -03:00
libavutil avutil/common: Fix integer overflow in av_ceil_log2_c() 2020-07-01 13:33:45 +02:00
libpostproc postproc/postprocess_template: remove FF_REG_sp from clobber list 2019-03-21 10:42:51 +01:00
libswresample swresample/swresample: Fix input channel count in resample_first computation 2018-10-07 21:34:00 +02:00
libswscale swscale/yuv2rgb: Fix vertical dither offset with slices 2020-07-01 13:33:44 +02:00
presets
tests avcodec/vp56rac: delay signaling an error on truncated input 2019-11-11 20:18:47 +01:00
tools lav*,tests: remove several register_all calls 2018-04-02 03:26:22 +01:00
.gitattributes
.gitignore Remove the ffserver program 2018-01-06 18:31:37 +00:00
.travis.yml Merge commit '4809781586d1c956005f72946a2aab5915eab350' 2017-10-28 15:08:31 -03:00
Changelog Update for 4.0.6 2020-07-01 13:57:48 +02:00
configure configure: bump year 2020-07-01 13:33:44 +02:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: add myself to documentation section 2018-04-13 09:40:27 -08:00
Makefile Revert "lavd: add new API for iterating input and output devices" 2018-03-31 23:26:31 +01:00
README.md Remove the ffserver program 2018-01-06 18:31:37 +00:00
RELEASE Update for 4.0.6 2020-07-01 13:57:48 +02:00
RELEASE_NOTES add release notes based on release 3.4 2018-04-16 12:41:03 +02: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.