Fork of FFmpeg for xenia's usage. Branched from latest release. On changes use a git rebase strategy when applicable!
Go to file
Andreas Cadhalpun 699341d647 apedec: prevent out of array writes in decode_array_0000
s->decoded_buffer is allocated with a min_size of:
    2 * FFALIGN(blockstodecode, 8) * sizeof(*s->decoded_buffer)

Then it is assigned to s->decoded[0] (and s->decoded_buffer + FFALIGN(blockstodecode, 8)
to s->decoded[1]) and passed as out buffer to decode_array_0000.

In this function 64 elements of the out buffer are written
unconditionally and outside the array if blockstodecode is too small.

This causes memory corruption, leading to segmentation faults or other
crashes.

Thus change decode_array_0000 to write at most blockstodecode elements
of the out buffer.

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-28 12:43:13 +02:00
compat
doc git-howto.texi: fix a typo 2015-04-23 23:56:21 -07:00
libavcodec apedec: prevent out of array writes in decode_array_0000 2015-04-28 12:43:13 +02:00
libavdevice lavd/v4l2: print buffer flags in case of error 2015-04-24 13:25:40 +02:00
libavfilter buffersrc: Use the correct deallocation function 2015-04-22 12:26:53 +02:00
libavformat webmdashenc: Fix UTCTiming Element 2015-04-28 03:39:07 +02:00
libavresample Merge commit '1a3eb042c704dea190c644def5b32c9cee8832b8' 2015-04-20 03:19:47 +02:00
libavutil OpenCL: Fix ABI incompatibility issues 2015-04-28 12:28:53 +02:00
libpostproc postproc: Made QP, nonBQP, and pQPb arrays 2015-04-22 23:59:03 +02:00
libswresample swresample/swresample-test: Randomly wipe out channel counts 2015-04-12 22:21:53 +02:00
libswscale swscale/ppc/swscale_altivec.c: POWER LE support in yuv2planeX_8() delete macro GET_VF() it was wrong 2015-04-27 12:59:05 +02:00
presets
tests webmdashenc: Fix UTCTiming Element 2015-04-28 03:39:07 +02:00
tools
.gitattributes
.gitignore
arch.mak makefile: add Loongson-3 support 2015-04-27 14:10:28 +02:00
Changelog Merge commit '22526c1f557a72b3285d295bd8b30c40eb65d437' 2015-04-20 05:28:13 +02:00
cmdutils_common_opts.h
cmdutils_opencl.c OpenCL: Avoid potential buffer overflow in cmdutils_opencl.c 2015-04-28 12:18:23 +02:00
cmdutils.c Merge commit 'c253340ae6f74ffd8798bbd476e46d1b33a2d56e' 2015-04-20 02:48:19 +02:00
cmdutils.h
common.mak
configure configure: add Loongson-3 support 2015-04-25 13:45:19 +02:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
ffmpeg_dxva2.c
ffmpeg_filter.c
ffmpeg_opt.c ffmpeg: add option not to offset seek position by start time 2015-04-20 19:50:58 +02:00
ffmpeg_vda.c vda: Cast to not discard constant qualifier and silence compiler warning 2015-04-09 01:23:33 +02:00
ffmpeg_vdpau.c
ffmpeg.c ffmpeg: Fix null pointer dereference in do_video_out() 2015-04-19 23:44:19 +02:00
ffmpeg.h ffmpeg: add option not to offset seek position by start time 2015-04-20 19:50:58 +02:00
ffplay.c Merge commit '336d2f0979b43a39bd11a047d798b7990d8b07c6' 2015-04-20 12:12:03 +02:00
ffprobe.c
ffserver_config.c
ffserver_config.h
ffserver.c
INSTALL.md
library.mak
LICENSE.md
MAINTAINERS MAINTAINERS: Add Lou Logan as server admin as he is root too 2015-04-06 20:24:05 +02:00
Makefile makefile: add Loongson-3 support 2015-04-27 14:10:28 +02:00
README.md
RELEASE
version.sh

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.