40 Commits (19321a295a641cbc067ec0df597bc1b69addf049)

Author SHA1 Message Date
Ruoyu c44d8d9552 avutil/lzo: fix resource leak 10 years ago
Michael Niedermayer 9326caa5fa avutil/lzo: allow selecting the compression function in the test code 11 years ago
Michael Niedermayer cf2b7c01f8 avutil/lzo: add asserts to be double sure against overflows 11 years ago
Michael Niedermayer d6af26c55c avutil/lzo: Fix integer overflow 11 years ago
Luca Barbato ccda51b14c lzo: Handle integer overflow 11 years ago
Xi Wang ca6c3f2c53 lzo: fix overflow checking in copy_backptr() 12 years ago
Diego Biurrun 5bac2d0c30 avutil: Move memcpy_backptr() to mem.c 12 years ago
Mans Rullgard d82f188504 Remove need for padding in av_memcpy_backptr() 12 years ago
Diego Biurrun ceb754d041 lzo: Use AV_COPY*U macros where appropriate 12 years ago
Diego Biurrun c08536979b avutil/lzo: K&R formatting cosmetics 12 years ago
Diego Biurrun 8fb1e26405 lzo: Drop obsolete fast_memcpy reference 12 years ago
Diego Biurrun 193d7eea95 libavutil: Remove broken and pointless lzo test program. 13 years ago
Reimar Döffinger 874da652b3 Avoid av_memcpy_backptr hang without extra branch. 13 years ago
Michael Niedermayer 58c41799ab lzo: fix memcpy_backptr() with 0 offset 13 years ago
Diego Biurrun c68fafe0d2 doxygen: eliminate Qt-style doxygen syntax 13 years ago
Reimar Döffinger b9242fd12f av_lzo1x_decode: properly handle negative buffer length. 13 years ago
Diego Biurrun adbfc605f6 doxygen: Consistently use '@' instead of '\' for Doxygen markup. 14 years ago
Mans Rullgard 2912e87a6c Replace FFmpeg with Libav in licence headers 14 years ago
Reimar Döffinger 032f406864 Handle input or output len of 0 properly in lzo decoder. 14 years ago
Reimar Döffinger 7d5082600e Handle input or output len of 0 properly in lzo decoder. 14 years ago
Diego Biurrun 985fdd534f Give liblzo benchmark conditionals more descriptive names and add convenience 16 years ago
Diego Biurrun 82a6ef2089 Replace manual setting of the removed av_log_level variable by the 16 years ago
Reimar Döffinger fe4032b66a Remove more functions disabled by major version bump. 16 years ago
Diego Biurrun 0d08e27015 Add necessary header for LIBAVUTIL_VERSION_MAJOR, fixes the warning: 16 years ago
Reimar Döffinger a545f067f3 Move doxygen documentation from lzo.c to lzo.h 16 years ago
Reimar Döffinger 0b178e5629 Add av_ prefix to LZO stuff and thus make it officially part of the public API. 16 years ago
Diego Biurrun bfe3676feb spelling/grammar/consistency review part II 16 years ago
Diego Biurrun 89c9ff504b spelling/grammar/consistency review part I 16 years ago
Peter Ross 6ba10f338a Add av_memcpy_backptr(): deliberately overlapping memcpy variant. 17 years ago
Reimar Döffinger 5e038b4f08 LZO decoder input is const 17 years ago
Reimar Döffinger 4302963daa Move lzo decompression to libavutil 18 years ago
Reimar Döffinger c215e40316 Make sure we do not accidentially "fix" cnt to something < 0 18 years ago
Reimar Döffinger c0a8b87600 Simplify checks, use that we know that cnt will not be < 0 18 years ago
Reimar Döffinger 56f8647aaa Remove boundary checks that are actually done "well enough" 18 years ago
Reimar Döffinger 9b2c14df60 Documentation fix: Copy functions should "work" fine for cnt == 0 18 years ago
Reimar Döffinger 1db8c21c1f Optimize LZO copy operations 18 years ago
Michael Niedermayer 960e48f8f0 another >> vs > 18 years ago
Michael Niedermayer bf47272f3c simpify state and make code 2% faster 18 years ago
Reimar Döffinger 5fe9c42ceb Add two extra needed bounds checks 18 years ago
Michael Niedermayer 801778bc83 replace if(x>>b) by if(x>C) as shifts are slow on some cpus and i have my doubts that gcc can replace the shifts as x is signed, it could in theory but well its gcc ... 18 years ago
Reimar Döffinger d62a0c1e5d Add code to testcode to ease comparing with liblzo. 18 years ago
Reimar Döffinger a737f1dfdb LZO optimization: check input buffer bounds less frequently if padded 18 years ago
Reimar Döffinger cf0ef3dc34 Fix buffer end checks in lzo copy code to work in all cases. 18 years ago
Reimar Döffinger 266aa26c52 Add lzo test code 18 years ago
Reimar Döffinger 214019ed32 Avoid void *-arithmetic 18 years ago
Diego Biurrun b78e7197a8 Change license headers to say 'FFmpeg' instead of 'this program/this library' 18 years ago
Reimar Döffinger f53a2931cf faster copy functions for lzo decoder that also need padding 19 years ago
Reimar Döffinger d3c71c5002 10l, get_byte returning 0 on error can cause a hang. So let's try with 1 instead... 19 years ago
Reimar Döffinger a9318df2f8 get_byte may not return -1 on error, since it can lead to a negative backptr. 19 years ago
Reimar Döffinger d66fbc14de Wrong state handling causing decompression errors in some cases 19 years ago