1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
Go to file
Timo Teräs e8fa0e3ec6 mpegencts: Fix overflow in cbr mode period calculations
ts->mux_rate is int (signed 32-bit) type. The period calculations
will start to overflow when mux_rate > 5mbps. This fixes overflows
by converting first to 64-bit type.

Fixes #5044.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 64f7db554e)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
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/apedec: Check length in long_filter_high_3800() 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 mpegencts: Fix overflow in cbr mode period calculations 2015-12-20 10:59:27 +01:00
libavresample Merge commit '12655c48049f9a52e5504bde90fe738862b0ff08' 2015-02-22 00:06:23 +01:00
libavutil avutil/timecode: Fix fps check 2015-12-20 10:59:27 +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 presets: remove moldering iPod presets 2014-06-17 16:15:04 -08:00
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 Treat all '*.pnm' files as non-text file 2014-11-28 17:52:43 -05:00
.gitignore Merge commit '11e05533170485b593974cf90916425a0188e7bd' 2015-02-02 21:16:15 +01:00
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 opts: add list device sources/sinks options 2014-10-25 20:20:31 +02:00
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 opts: add list device sources/sinks options 2014-10-25 20:20:31 +02:00
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 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_dxva2.c ffmpeg_dxva2: add hevc support 2015-01-27 12:37:34 +01:00
ffmpeg_filter.c ffmpeg: fix accurate seeking with -copyts 2014-11-24 17:31:26 +01:00
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 Merge commit '1f9237f2ac46dfbed1bfa1f4f0f1314c2a1d62ec' 2014-12-27 13:26:38 +01:00
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: reflow add_codec() 2014-12-09 01:03:01 -03:00
ffserver_config.h ffserver: dont leak child arguments 2014-11-26 23:32:33 +01:00
ffserver.c ffserver: fix wrong indentation 2015-02-15 15:15:41 -03:00
INSTALL.md INSTALL: add markdown syntax 2014-05-28 22:38:38 +02:00
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 version.sh: Print versions based on the last git tag for release branches 2014-07-28 15:44:59 +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.