1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
Go to file
Andreas Rheinhardt ac2852d795 avformat/dashdec, hls: Update correct pointer to AVDictionary
open_url() in the DASH as well in the hls demuxer share a common bug:
They modify an AVDictionary (i.e. set a new entry) given to them as
AVDictionary *, yet if this new entry leads to reallocation and
relocation of the AVDictionary, the caller's pointer will become
dangling, leading to use-after-frees. So pass an AVDictionary **.

(With the current implementation of AVDictionary the above can only
happen if the AVDictionary was empty initially (in which case the
new AVDictionary leaks); furthermore if the I/O is ordinary (i.e. opened
by avio_open2() or ffio_open_whitelist()), the dict is never empty (it
contains an rw_timeout entry from save_avio_options()). So this issue
could only happen if the caller sets a nondefault io_open callback, but
no AVIOContext (the AVFMT_FLAG_CUSTOM_IO flag won't be set in this
case). In case of the HLS demuxer, it was also necessary that setting
the "seekable" entry failed. Yet one should simply not rely on internals
of the AVDict API.)

Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-09-21 04:31:43 +02:00
compat
doc avdevice/decklink_dec: add support for querying RP188 High Frame Rate timecode 2020-09-13 18:06:54 +02:00
ffbuild ffbuild: Refine MIPS handling 2020-07-23 16:30:02 +02:00
fftools fftools/ffprobe: use av_timecode_make_smpte_tc_string2 2020-09-13 17:51:57 +02:00
libavcodec avcodec/ansi: Check nb_args for overflow 2020-09-20 18:03:52 +02:00
libavdevice avdevice/lavfi: av_malloc -> av_malloc_array 2020-09-21 09:30:55 +08:00
libavfilter dnn_backend_native_layer_conv2d.c: fix bug of loop boundary in single thread mode. 2020-09-20 12:30:47 +08:00
libavformat avformat/dashdec, hls: Update correct pointer to AVDictionary 2020-09-21 04:31:43 +02:00
libavresample
libavutil avutil/fixed_dsp: Fix integer overflows in butterflies_fixed_c() 2020-09-19 00:37:45 +02:00
libpostproc
libswresample swresample/rematrix: handle 22.2 as a 9 channel layout 2020-08-18 22:47:35 +03:00
libswscale swscale/x86/output: add missing AVX2 support preprocessor wrappers 2020-08-20 15:14:56 -03:00
presets
tests avformat/mxfdec: Read Apple private Content Light Level from MXF 2020-09-17 21:40:25 +02:00
tools tools/target_dec_fuzzer: Adjust VQA threshold 2020-09-19 00:40:56 +02:00
.gitattributes
.gitignore
.mailmap
.travis.yml
Changelog avformat: add CRI AAX demuxer 2020-09-18 11:34:11 +02:00
configure avcodec: add AV1 hardware accelerated decoder 2020-09-12 13:08:34 -03: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 tools:target_dem_fuzzer: Split into a fuzzer fuzzing at the protocol level and one fuzzing a fixed demuxer input 2020-09-13 10:40:02 +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.