FFmpeg git repo
Go to file
Xi Wang ca6c3f2c53 lzo: fix overflow checking in copy_backptr()
The check `src > dst' in the form `&c->out[-back] > c->out' invokes
pointer overflow, which is undefined behavior in C.

Remove the check.  Also replace `&c->out[-back] < c->out_start' with
a safe form `c->out - c->out_start < back' to avoid overflow.

CC: libav-stable@libav.org

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-03-15 12:52:31 +01:00
compat Use the avstring.h locale-independent character type functions 2013-03-07 15:16:36 +02:00
doc Add the bumps and APIchanges entries for reference counted buffers changes. 2013-03-08 07:41:49 +01:00
libavcodec atrac3: avoid oversized shifting in decode_bytes() 2013-03-15 12:51:10 +01:00
libavdevice Add the bumps and APIchanges entries for reference counted buffers changes. 2013-03-08 07:41:49 +01:00
libavfilter hqdn3d: Fix out of array read in LOWPASS 2013-03-13 09:14:59 +01:00
libavformat flacdec: simplify bounds checking in flac_probe() 2013-03-15 12:51:57 +01:00
libavresample lavr: allow setting internal_sample_fmt option by string 2013-02-23 17:07:54 -05:00
libavutil lzo: fix overflow checking in copy_backptr() 2013-03-15 12:52:31 +01:00
libswscale Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*. 2013-03-08 07:42:09 +01:00
presets
tests FATE: replace -vb with -b:v 2013-03-08 14:14:17 +01:00
tools ismindex: Check the return value of allocations 2013-03-13 20:41:25 +02:00
.gitignore doxygen: Build Doxygen documentation in the doc/ subdirectory 2012-10-23 20:25:30 +02: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
Changelog avconv: do not silently ignore unused codec AVOptions. 2013-03-08 14:15:51 +01:00
INSTALL
LICENSE LICENSE: Move (L)GPLv3 explanation block to a more suitable place 2013-02-27 19:51:10 +01:00
Makefile build: Add proper infrastructure for adding and checking host CPPFLAGS 2013-02-23 20:23:45 +01:00
README
RELEASE Prepare for 10_alpha1 Release 2013-01-06 16:23:12 +01:00
arch.mak arm: rename ARMVFP config symbol to VFP 2012-12-07 16:54:04 +00:00
avconv.c avconv: convert to new refcounted AVFrame API 2013-03-08 07:40:50 +01:00
avconv.h avconv: convert to new refcounted AVFrame API 2013-03-08 07:40:50 +01:00
avconv_filter.c avconv: Make sure the encoder exists before inspecting supported_list 2013-03-06 21:56:10 +02:00
avconv_opt.c avconv: mark attachment streams as immediately finished 2013-03-15 08:59:27 +01:00
avplay.c avplay: enable only when SDL 1.2 is found 2013-03-09 14:33:54 +01:00
avprobe.c Use the avstring.h locale-independent character type functions 2013-03-07 15:16:36 +02:00
avserver.c avserver: don't set deprecated options. 2013-03-08 07:41:07 +01:00
cmdutils.c avconv: print an error on applying options of the wrong type. 2013-03-08 14:12:43 +01:00
cmdutils.h avconv: print an error on applying options of the wrong type. 2013-03-08 14:12:43 +01:00
cmdutils_common_opts.h cmdutils: extend -h to allow printing codec details. 2012-08-19 19:22:08 +02:00
common.mak build: Ensure that output directories for header objects are created 2013-02-20 00:45:30 +01:00
configure avplay: enable only when SDL 1.2 is found 2013-03-09 14:33:54 +01:00
library.mak build: Make library minor version visible in the Makefile 2013-02-11 20:17:15 +01:00
version.sh

README

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.