summaryrefslogtreecommitdiffstats
path: root/libavutil/lzo.c
Commit message (Collapse)AuthorAgeFilesLines
* lzo: fix overflow checking in copy_backptr()Xi Wang2013-03-151-2/+1
| | | | | | | | | | | | | 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>
* avutil: Move memcpy_backptr() to mem.cDiego Biurrun2012-10-251-43/+1
| | | | The function is used elsewhere and does not belong with the LZO code.
* Remove need for padding in av_memcpy_backptr()Mans Rullgard2012-10-231-8/+8
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* lzo: Use AV_COPY*U macros where appropriateDiego Biurrun2012-10-231-20/+8
|
* avutil/lzo: K&R formatting cosmeticsDiego Biurrun2012-10-201-43/+53
|
* lzo: Drop obsolete fast_memcpy referenceDiego Biurrun2012-10-191-3/+2
|
* libavutil: Remove broken and pointless lzo test program.Diego Biurrun2012-03-261-44/+0
|
* doxygen: eliminate Qt-style doxygen syntaxDiego Biurrun2011-12-051-3/+3
|
* doxygen: Consistently use '@' instead of '\' for Doxygen markup.Diego Biurrun2011-06-241-11/+11
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Handle input or output len of 0 properly in lzo decoder.Reimar Döffinger2011-01-241-0/+8
| | | | (cherry picked from commit 7d5082600ee63d879c2a325974ea09c8ace05019)
* Give liblzo benchmark conditionals more descriptive names and add convenienceDiego Biurrun2009-04-091-2/+8
| | | | | | definitions along with instructions for changing them. Originally committed as revision 18387 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace manual setting of the removed av_log_level variable by theDiego Biurrun2009-04-021-1/+1
| | | | | | corresponding call to av_log_set_level(). Originally committed as revision 18310 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove more functions disabled by major version bump.Reimar Döffinger2009-03-081-6/+0
| | | | Originally committed as revision 17876 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add necessary header for LIBAVUTIL_VERSION_MAJOR, fixes the warning:Diego Biurrun2009-02-021-0/+2
| | | | | | libavutil/lzo.c:235:5: warning: "LIBAVUTIL_VERSION_MAJOR" is not defined Originally committed as revision 16962 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move doxygen documentation from lzo.c to lzo.hReimar Döffinger2009-02-021-20/+0
| | | | Originally committed as revision 16949 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to LZO stuff and thus make it officially part of the public API.Reimar Döffinger2009-02-021-11/+17
| | | | | | Keep lzo1x_decode until the next major version bump for binary compatibility. Originally committed as revision 16946 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling/grammar/consistency review part IIDiego Biurrun2009-01-281-1/+1
| | | | Originally committed as revision 16848 to svn://svn.ffmpeg.org/ffmpeg/trunk
* spelling/grammar/consistency review part IDiego Biurrun2009-01-281-10/+10
| | | | Originally committed as revision 16840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_memcpy_backptr(): deliberately overlapping memcpy variant.Peter Ross2008-08-061-3/+21
| | | | Originally committed as revision 14641 to svn://svn.ffmpeg.org/ffmpeg/trunk
* LZO decoder input is constReimar Döffinger2008-02-011-5/+5
| | | | Originally committed as revision 11797 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move lzo decompression to libavutilReimar Döffinger2007-01-311-0/+273
Originally committed as revision 7789 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud