1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
Go to file
Michael Niedermayer 1f6aea2cc4 avcodec/cabac: Check initial cabac decoder state
Fixes integer overflows
Fixes: 1430e9c43fae47a24c179c7c54f94918/signal_sigsegv_421427_2340_591e9810c7b09efe501ad84638c9e9f8.264

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Found-by: xiedingbao (Ticket4727)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 8000d484b8)

Conflicts:

	libavcodec/cabac.h

Conflicts:

	libavcodec/h264_cabac.c
	libavcodec/h264_slice.c
2015-12-20 10:59:27 +01:00
compat compat/avisynth/windowsPorts/windows2linux: Add () to protect macro arguments 2015-02-18 01:49:35 +01:00
doc doc/filters/drawtext: fix centering example 2015-12-01 17:32:57 -08:00
libavcodec avcodec/cabac: Check initial cabac decoder state 2015-12-20 10:59:27 +01:00
libavdevice avdevice/lavfi: do not rescale AV_NOPTS_VALUE in lavfi_read_packet() 2015-07-20 04:43:39 +02:00
libavfilter avfilter/af_asyncts: use llabs for int64_t 2015-11-19 03:51:38 +01:00
libavformat ffm: reject invalid codec_id and codec_type 2015-12-17 21:37:23 +01:00
libavresample Merge commit '12655c48049f9a52e5504bde90fe738862b0ff08' 2015-02-22 00:06:23 +01:00
libavutil libavutil/channel_layout: Check strtol*() for failure 2015-11-19 03:51:39 +01:00
libpostproc postproc: fix unaligned access 2015-07-20 04:43:40 +02:00
libswresample swresample/swresample: Fix integer overflow in seed calculation 2015-11-19 03:51:38 +01:00
libswscale swscale/x86/rgb2rgb_template: Fallback to mmx in interleaveBytes() if the alignment is insufficient for SSE* 2015-12-15 11:18:39 +01:00
presets
tests avcodec/dcaenc: clear bitstream end 2015-11-19 03:51:37 +01:00
tools tools/graph2dot: use larger data types than int for array/string sizes 2015-05-15 10:04:51 +02:00
.gitattributes
.gitignore
arch.mak configure, mips: remove MIPS32R2, merging it with MIPSFPU 2015-03-06 14:01:31 +01:00
Changelog Update for 2.6.5 2015-11-22 16:37:37 +01:00
cmdutils_common_opts.h
cmdutils_opencl.c OpenCL: Avoid potential buffer overflow in cmdutils_opencl.c 2015-05-15 10:04:50 +02:00
cmdutils.c cmdutils: fix success path 2015-02-11 17:28:11 +01:00
cmdutils.h
common.mak Makefile: improve DBG option for asm 2015-02-21 03:23:55 +01:00
configure Add dependencies to configure file for vf_fftfilt 2015-03-13 13:04:31 +01:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
ffmpeg_dxva2.c
ffmpeg_filter.c
ffmpeg_opt.c ffmpeg_opt: Check for localtime() failure 2015-07-20 04:43:40 +02:00
ffmpeg_vda.c vda: unlock the pixel buffer base address. 2015-07-20 04:43:40 +02:00
ffmpeg_vdpau.c
ffmpeg.c ffmpeg: Don't try and write sdp info if none of the outputs had an rtp format. 2015-11-19 03:51:39 +01:00
ffmpeg.h ffmpeg: allow to set the thread message queue size. 2015-02-26 19:19:56 +01:00
ffplay.c ffplay: Switch to show waves mode if allocation/init of RDFT fails 2015-03-04 03:04:04 +01:00
ffprobe.c ffprobe: Change string_validation to int, its accessed via AVOption as int 2015-03-02 04:06:39 +01:00
ffserver_config.c
ffserver_config.h
ffserver.c ffserver: fix wrong indentation 2015-02-15 15:15:41 -03:00
INSTALL.md
library.mak x86/doc/Makefile: DBG=1 to preprocess external asm 2015-02-17 13:08:04 +01:00
LICENSE.md LICENSE.md: Formatting updates 2015-02-12 01:53:56 +01:00
MAINTAINERS MAINTAINERS: Remove myself as leader 2015-07-31 18:35:30 +02:00
Makefile configure, mips: remove MIPS32R2, merging it with MIPSFPU 2015-03-06 14:01:31 +01:00
README.md README: add ffserver 2015-02-12 11:59:22 +01:00
RELEASE Update for 2.6.5 2015-11-22 16:37:37 +01:00
RELEASE_NOTES RELEASE_NOTES: small grammar fixes and improvements 2015-03-06 22:15:47 -03:00
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.