1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-08 13:22:53 +02:00
Go to file
Janne Grunau 970ca1e0f2 vp9: recon: Use emulated edge to prevent buffer overflows
The arm/aarch64 horizontal filter reads one additional pixel beyond what
the filter uses. This can become an issue if the application does not
allocate larger buffers than what's required for the pixel data. If the
motion vector points to the bottom right edge of the picture this
becomes a read buffer overflow. This triggers segfaults in Firefox for
video resolutions which result in a page aligned picture size like
1280x640.
Prevent this by using emulated edge in this case.

Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1881185
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 060464105b)
2025-01-04 07:28:47 -05:00
compat compat/cuda/ptx2c: strip CR from each line 2017-08-30 11:20:34 +02:00
doc doc/html: fix styling issue with Texinfo 7.0 2023-11-09 00:22:42 +01:00
ffbuild build: prevent SDL2 from polluting global cflags and extralibs 2017-10-09 21:41:11 -03:00
fftools fftools/ffmpeg_opt: Fix leak of options when parsing options fails 2022-05-04 19:28:19 +02:00
libavcodec vp9: recon: Use emulated edge to prevent buffer overflows 2025-01-04 07:28:47 -05:00
libavdevice avdevice/decklink_dec: Fix ;; 2018-06-18 01:16:03 +02:00
libavfilter avfilter/vf_signature: Dont crash on no frames 2024-04-03 01:33:39 +02:00
libavformat avformat/mxfdec: Check index_edit_rate 2024-04-04 21:10:50 +02:00
libavresample Bump minor versions for branching 3.4 2017-10-11 01:23:47 +02:00
libavutil avformat/timecode: use 64bit for intermediate for rounding in fps_from_frame_rate() 2024-04-03 01:02:22 +02:00
libpostproc postproc/postprocess_template: remove FF_REG_sp from clobber list 2019-03-24 10:38:51 +01:00
libswresample swresample/swresample: Fix input channel count in resample_first computation 2018-10-28 02:22:42 +02:00
libswscale swscale/utils: Fix xInc overflow 2024-04-04 21:09:53 +02:00
presets
tests fate/subtitles: Ignore line endings for sub-scc test 2024-04-14 03:25:15 +02:00
tools tools/cws2fws: Check read() for failure 2021-09-11 21:23:49 +02:00
.gitattributes
.gitignore build: add support for building .cu files via nvcc 2017-05-15 11:46:50 +02:00
.travis.yml build: Prefer NASM assembler over YASM 2017-06-21 17:00:30 -03:00
Changelog Changelog: update 2023-06-10 22:49:06 +02:00
configure configure: Enable section_data_rel_ro for FreeBSD and NetBSD aarch64 / arm 2023-12-26 00:18:49 +01:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS Use https for repository links 2023-06-04 20:18:18 +02:00
INSTALL.md
LICENSE.md Merge commit '4fef648d10bf3bcfd4b8fa5755c1128966a2427c' 2017-03-15 22:07:47 +01:00
MAINTAINERS MAINTAINERS: Add ED25519 key for signing my commits in the future 2022-08-23 22:21:01 +02:00
Makefile Makefile: generate stripped CLI tools directly instead of copying unstripped ones first 2017-10-10 19:45:14 +02:00
README.md
RELEASE Update for 3.4.13 2023-06-04 20:26:33 +02:00
RELEASE_NOTES Update missed irc links 2021-09-11 21:23:49 +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.
  • 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.