Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lvandeve/lodepng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-11-30fixed MSVC build warnings for plain C tooMartin Fiedler
2023-11-29fixed MSVC warningsMartin Fiedler
23 warnings for 64-bit builds, 3 warnings for 32-bit builds
2023-04-10optimize CRC32, and path for some compilers (helps for clang on modern x86 CPU)Lode
2022-11-08fix error checking in pngdetail binary utilityLode
2022-07-18fix a few possible empty vector accesses (C++11 not yet used for now), and ↵Lode
cleanup a few other unneeded [0]'s
2022-06-19document NO_COMPILE macros better, and cleanupsLode
2022-06-18small fixesLode
2022-06-18Merge pull request #168 from vitalybuka/masterLode Vandevenne
Continue early to avoid uninitialized value
2022-06-17Continue early to avoid uninitialized valueVitaly Buka
If l == 0 we don't need to load symbol and call reverseBits. However if we do, symbol is uninitialized and function call with uninitialized argument and behavior is undefined.
2022-06-17Fix undefined behavior found by UBSan fuzzingHans Petter Jansson
2022-06-13sBIT chunk support, and a few improved bounds checksLode
2022-01-10minor decoder speed improvementsLode
2021-06-27wide character filename not supported warning and filter optimizationsLode Vandevenne
2020-10-17prevent too huge text chunks or icc profilesLode
2020-05-19fix typoNgaiShunChan
2020-05-04fix code styleNgaiShunChan
2020-04-29fix crash when preProcessScanlines allocs failedNgaiShunChan
2020-03-07simplify and cleanup more dynamic memory allocationsLode
2020-02-20fix potential compiler warning for enum value not handled in switchLode
2020-02-16handle getTreeInflateFixed error, and fix stray memcpyLode
2020-02-15more memory allocation simplifications, and fixes of out of memory handlingLode
2020-02-15cleanups and cast fixesLode
2020-02-12fix error handling of failed allocation, and remove unneeded palette reallocLode
2020-02-12fix memory leaks which could occur when returning error after allocations failedLode
2020-01-12handle integer overflow in lodepng_chunk_next and lodepng_chunk_findLode
Fixes issue https://github.com/lvandeve/lodepng/issues/123
2019-12-20Fix decoding bug in bit readerLode
This bug could cause a wrong numeric value reading a PNG in the rare case of long huffman symbol for a distance with many extra bits Also add tests for the bit reader
2019-12-08make auto_choose_color static since it's only internalLode
2019-11-18fix LODEPNG_RESTRICT for gccsezero
previously, it ignored any gcc with __GNUC_MINOR__ == 0.
2019-11-12Merge pull request #119 from sezero/wccLode Vandevenne
do not define LODEPNG_RESTRICT Open Watcom in C++ mode.
2019-11-12do not define LODEPNG_RESTRICT Open Watcom in C++ mode.sezero
see https://github.com/open-watcom/open-watcom-v2/issues/551
2019-11-11Fix alloc fail check.JayXon
2019-11-09Fix left shift signed overflowLode
Move the unsigned cast inside to ensure C will not create a singed int when combining an unsigned char with an unsigned int. Also ensure unsigned constants for more left shifts. Fixes issue https://github.com/lvandeve/lodepng/issues/117
2019-11-08remove unnecessary sum arraysLode
2019-11-08Better integer x*log(x) approx for LFS_ENTROPYLode
Improves the results for issue https://github.com/lvandeve/lodepng/issues/116
2019-11-07Allow palette for gray alpha.JayXon
Gray is only less overhead than palette when there's no alpha channel.
2019-11-07length of huffman symbols in secondary table must be > FIRSTBITSLode
2019-11-06Fix support for huffman tree with 0 or 1 symbolsLode
This fixes issue https://github.com/lvandeve/lodepng/issues/114
2019-10-21More palette error checkingLode
Do empty input palette check in lodepng_convert for users of this function. Move the missing PLTE chunk error check to decodeGeneric so it triggers even if color_convert is not requested. Add error for trying to add too many colors to a palette.
2019-10-21Move behind variable definitions and add test and error stringLode
2019-10-21Fix null pointer derefs decoding paletteized data without PLTE chunk.Brian Foley
2019-09-30spelling correctionsLode
2019-09-14remove use of floatLode
2019-09-09decoder speedups: faster palette to RGB conversion and possible paeth speedupLode
2019-09-08more decoder speedups, 5% fasterLode
2019-09-01a few decoder speed optimizations (about 3%)Lode
2019-08-25refactoringsLode
2019-08-24less allocations in chunk encodingLode
as suggested in https://github.com/lvandeve/lodepng/pull/97
2019-08-22Return an error when an invalid sized ICC profile is provided.bobsayshilol
Previously this had the potential to return an allocation error if the return value from malloc(0) was NULL, otherwise it would have returned success. The return value of malloc(0) shouldn't cause behavioural differences in a program, and thankfully in this case a zero sized ICC profile is invalid, so return an error about that instead.
2019-08-16Merge pull request #104 from sezero/sezero3Lode Vandevenne
HuffmanTree_cleanup: change initializer of mask to a real constant constant
2019-08-16styleLode