FFmpeg git repo
Go to file
Ganesh Ajjanagadde 979572365f avcodec/ac3enc: fix undefined negative left shift
This should fix the undefined behavior reported in:
https://trac.ffmpeg.org/ticket/4727.

I can reproduce this at runtime: simply stick in an abort call in
asym_quant to check if c < 0 and run FATE. I don't know ac3 so I can't
confirm if negative coefficients are intentional, but at the moment they
clearly are according to FATE.

This resolves the undefined behavior. Tested with FATE.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-10 14:43:22 +02:00
compat Merge commit '2830bce47e2eb29c76202f19017031ddc1f95dd3' 2015-10-10 09:45:44 +02:00
doc doc: fix spelling errors 2015-10-09 22:09:08 +02:00
libavcodec avcodec/ac3enc: fix undefined negative left shift 2015-10-10 14:43:22 +02:00
libavdevice
libavfilter doc: fix spelling errors 2015-10-09 22:09:08 +02:00
libavformat Merge commit '00cc10aee380f882507bac994ac469d8358d12e8' 2015-10-10 09:56:29 +02:00
libavresample
libavutil lavu/opt: add flag to return NULL when applicable in av_opt_get 2015-10-09 04:12:57 -05:00
libpostproc
libswresample swresample/resample: manually unroll the main loop in bessel() 2015-10-07 18:00:58 +02:00
libswscale
presets
tests fate: add DNxHD/HR tests 2015-10-09 22:36:05 +02:00
tools
.gitattributes
.gitignore
.travis.yml
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog
INSTALL.md
LICENSE.md
MAINTAINERS
Makefile
README.md
RELEASE
arch.mak
cmdutils.c
cmdutils.h
cmdutils_common_opts.h
cmdutils_opencl.c
common.mak
configure Merge commit 'd7a5a178c252b625537adc046392624ad543dea7' 2015-10-10 09:37:51 +02:00
ffmpeg.c ffmpeg: avoid possible undefined behavior 2015-10-09 21:19:39 +02:00
ffmpeg.h
ffmpeg_dxva2.c
ffmpeg_filter.c Merge commit '8b830ee9a26d47b138f12a82085cdb372f407f1e' 2015-10-10 09:43:47 +02:00
ffmpeg_opt.c
ffmpeg_vdpau.c
ffmpeg_videotoolbox.c build: restore videotoolbox compilation on iOS 2015-10-09 10:59:31 +02:00
ffplay.c
ffprobe.c
ffserver.c
ffserver_config.c
ffserver_config.h
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 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. Few developers follow pull requests so they will likely be ignored.