FFmpeg git repo
Go to file
Maneesh Gupta 1e6352578a OpenCL: Avoid potential buffer overflow in cmdutils_opencl.c
The opt_opencl_bench function copied the device name using strcpy without checking if the source string was larger.
This patch fixes this by replacing the strcpy with av_strlcpy, with the string copy size capped to the destination buffer size.

Signed-off-by: Maneesh Gupta <maneesh.gupta@amd.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit cf234552b8)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-05-21 20:43:37 +02:00
compat w32pthreads: use the condition variable API directly when targeting newer versions of Windows 2014-10-10 11:27:30 +03:00
doc tests: drop bc dependency 2015-05-13 17:11:04 -07:00
libavcodec apedec: set s->samples only when init_frame_decoder succeeded 2015-05-21 20:43:37 +02:00
libavdevice avdevice: Use av_format_get_control_message_cb() 2015-02-12 17:10:35 +01:00
libavfilter lavfi/fade: Do not overread input buffer. 2015-05-17 12:46:35 +02:00
libavformat lavf: Reset global flag on deinit 2015-05-21 20:43:37 +02:00
libavresample Merge commit '963f76144897d3f7684d82ec21e51dd50ea1106e' 2014-10-18 22:53:23 +02:00
libavutil avutil/pca: Check for av_malloc* failures 2015-04-17 15:20:29 +02:00
libpostproc Add FFMPEG_VERSION into the binary libs 2014-12-22 03:17:56 +01:00
libswresample swresample/swresample-test: Randomly wipe out channel counts 2015-04-17 15:20:29 +02:00
libswscale swscale/ppc/swscale_altivec.c: POWER LE support in yuv2planeX_8() delete macro GET_VF() it was wrong 2015-05-21 20:43:37 +02:00
presets
tests tests/fate-run: do not attempt to parse tiny_psnrs output if it failed 2015-05-21 20:43:37 +02:00
tools Merge commit '6f26f14f134e753d6168591f30815b1c08c1498b' 2014-11-24 14:01:50 +01:00
.gitattributes Treat all '*.pnm' files as non-text file 2014-11-28 17:52:43 -05:00
.gitignore gitignore: add test_copy.ffmeta 2014-10-17 15:57:12 +02:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog Update or 2.5.6 2015-04-17 15:57:45 +02:00
INSTALL.md
LICENSE.md LICENSE.md: Add tests/reference.pnm 2014-11-30 19:12:22 +01:00
MAINTAINERS MAINTAINERS: add 2.5 2014-12-04 14:48:20 +01:00
Makefile Makefile: add dependencies which require ffversion.h 2014-12-22 03:17:56 +01:00
README.md README: fix 2 typo in the doc/examples sentence 2014-11-03 09:21:45 +01:00
RELEASE Update or 2.5.6 2015-04-17 15:57:45 +02:00
RELEASE_NOTES Update RELEASE_NOTES 2014-12-04 06:06:18 +01:00
arch.mak
cmdutils.c cmdutils: Use 64bit for file size/offset related variable in cmdutils_read_file() 2015-01-09 17:19:10 +01:00
cmdutils.h opts: add list device sources/sinks options 2014-10-25 20:20:31 +02: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-21 20:43:37 +02:00
common.mak
configure configure: Move the .object_arch check to the right place 2015-03-21 01:52:52 +01:00
ffmpeg.c ffmpeg: Fix extradata allocation 2015-04-17 15:20:29 +02:00
ffmpeg.h ffmpeg: take bsf arguments from the command line 2014-11-30 13:11:34 +01:00
ffmpeg_dxva2.c
ffmpeg_filter.c ffmpeg: fix accurate seeking with -copyts 2014-11-24 17:31:26 +01:00
ffmpeg_opt.c ffmpeg: take bsf arguments from the command line 2014-11-30 13:11:34 +01:00
ffmpeg_vda.c
ffmpeg_vdpau.c
ffplay.c ffplay: fix mem leak when opening input or parsing options fail. 2014-11-22 15:55:07 +01:00
ffprobe.c Set -scan_all_pmts 1 in ffmpeg, ffplay and ffprobe if not set by user. 2014-11-09 18:28:29 +01:00
ffserver.c ffserver: use avcodec_copy_context to copy context 2014-12-02 21:58:34 +01:00
ffserver_config.c ffserver_config: print warning when using default value 2014-12-02 21:58:35 +01:00
ffserver_config.h ffserver: dont leak child arguments 2014-11-26 23:32:33 +01:00
library.mak
version.sh

README.md

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 analisys 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.