No description
Find a file
Andreas Rheinhardt c9a8def8f2 avformat/utils: Fix memleaks in avformat_open_input()
A demuxer might have allocated memory while reading the header. If
reading the header was successfull and an error happens before returning
(e.g. when queueing the attached pictures), the read_close function
would have never been called, so that all those allocations would leak.
This commit changes this.

Furthermore, there would be even more memleaks if the error level was
set to AV_EF_EXPLODE in case there is both metadata and id3v2 metadata.
This has been fixed, too.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
(cherry picked from commit e2307f4ff1)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-07-03 16:14:43 +02:00
compat compat/cuda: convert to unix line endings 2016-09-23 11:43:00 +02:00
doc Update for 3.2.15 2020-07-01 13:10:34 +02:00
libavcodec avcodec/cavsdsp: Fix undefined left shifts of negative numbers 2020-07-03 16:13:44 +02:00
libavdevice avdevice/iec61883: free the private context at the end 2018-04-18 23:01:33 -03:00
libavfilter avfilter/vf_aspect: Fix integer overflow in compute_dar() 2020-07-01 12:49:26 +02:00
libavformat avformat/utils: Fix memleaks in avformat_open_input() 2020-07-03 16:14:43 +02:00
libavresample Revert "Bump minor versions after 3.2 branchpoint to seperate release" 2016-10-26 21:22:12 +02:00
libavutil avutil/common: Fix integer overflow in av_ceil_log2_c() 2020-07-01 12:49:26 +02:00
libpostproc postproc/postprocess_template: remove FF_REG_sp from clobber list 2019-01-15 00:57:27 +01:00
libswresample swresample/swresample: Fix input channel count in resample_first computation 2018-11-18 02:20:43 +01:00
libswscale swscale/yuv2rgb: Fix vertical dither offset with slices 2020-07-01 12:49:26 +02:00
presets presets: remove moldering iPod presets 2014-06-17 16:15:04 -08:00
tests avcodec/vp56rac: delay signaling an error on truncated input 2020-07-01 12:49:26 +02:00
tools zmqsend: Initialize ret to 0 2016-12-06 00:07:50 +01:00
.gitattributes Treat all '*.pnm' files as non-text file 2014-11-28 17:52:43 -05:00
.gitignore Merge commit '6641819fee' 2016-06-26 15:43:05 +02:00
.travis.yml Merge commit 'eda1832874' 2015-11-22 17:12:24 +00:00
arch.mak mips: rename mipsdspr1 to mipsdsp 2015-12-04 02:35:42 +01:00
Changelog Changelog: update 2020-07-02 18:50:40 +02:00
cmdutils.c cmdutils: fix typos 2016-10-09 20:09:00 +02:00
cmdutils.h cmdutils: fix typos 2016-10-09 20:09:00 +02:00
cmdutils_common_opts.h opts: add list device sources/sinks options 2014-10-25 20:20:31 +02:00
cmdutils_opencl.c all: use FFDIFFSIGN to resolve possible undefined behavior in comparators 2015-11-03 16:28:30 -05:00
common.mak Merge commit 'c5fd4b5061' 2016-06-27 19:39:46 +02:00
configure configure: bump year 2020-07-01 12:49:26 +02:00
CONTRIBUTING.md Add CONTRIBUTING.md 2016-09-18 10:02:13 +01:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1 cosmetics: Delete empty lines at end of file. 2012-02-09 12:26:45 +01:00
COPYING.LGPLv3
CREDITS CREDITS: redirect to Git log, remove current outdated content 2013-01-31 18:02:52 +01:00
ffmpeg.c fftools/ffmpeg: Fix integer overflow in duration computation in seek_to_start() 2020-07-01 12:49:26 +02:00
ffmpeg.h Merge commit '398f015f07' 2016-10-08 11:38:47 +02:00
ffmpeg_cuvid.c doc: fix spelling errors 2016-10-21 23:58:47 +02:00
ffmpeg_dxva2.c Merge commit '18c506e9e6' 2016-06-26 15:34:01 +02:00
ffmpeg_filter.c ffmpeg: switch to codecpar 2016-09-21 15:39:28 +02:00
ffmpeg_opt.c Avoid using the term "file" and prefer "url" in some docs and comments 2016-12-06 00:07:50 +01:00
ffmpeg_qsv.c ffmpeg/qsv: fix QSV-accelerated transcode performance drop issue. 2016-08-16 17:09:33 +02:00
ffmpeg_vaapi.c ffmpeg_vaapi: fix choice of decoder_format 2016-09-29 01:23:52 +02:00
ffmpeg_vdpau.c Merge commit 'f72db3f2f3' 2016-06-26 15:29:39 +02:00
ffmpeg_videotoolbox.c ffmpeg/videotoolbox: protect UTGetOSTypeFromString on both VDA and VT 2015-10-15 10:22:31 +02:00
ffplay.c ffplay: fix sws_scale possible out of bounds array access 2016-12-10 23:24:05 +01:00
ffprobe.c ffprobe: Fix NULL pointer handling in color parameter printing 2017-09-17 12:21:32 +02:00
ffserver.c ffserver: Check chunk size 2016-12-06 00:07:50 +01:00
ffserver_config.c ffserver_config: Setup codecpar in add_codec() 2017-02-07 13:21:14 +01:00
ffserver_config.h ffserver: Use singlejpeg muxer for jpeg 2015-06-08 03:36:22 +02:00
INSTALL.md INSTALL: add markdown syntax 2014-05-28 22:38:38 +02:00
library.mak Merge commit 'c5fd4b5061' 2016-06-27 19:39:46 +02:00
LICENSE.md lavc: remove libfaac wrapper 2016-10-01 19:58:04 +01:00
MAINTAINERS MAINTAINERS: add myself for audiotoolbox 2016-10-24 01:47:52 -05:00
Makefile Merge commit '6641819fee' 2016-06-26 15:43:05 +02:00
README.md Add CONTRIBUTING.md 2016-09-18 10:02:13 +01:00
RELEASE Update for 3.2.15 2020-07-01 13:10:34 +02:00
RELEASE_NOTES RELEASE_NOTES: based on 3.1 2016-10-26 21:14:02 +02:00
version.sh version.sh: Fix spurious rebuilds. 2016-03-10 09:53:10 +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.
  • ffserver is a multimedia streaming server for live broadcasts.
  • 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.