summaryrefslogtreecommitdiffstats
path: root/src/libs/dimg/loaders/jp2kloader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use JasPer 3 init/cleanup functionsmio2025-03-151-14/+89
| | | | | | | | | | | | | | | | The jas_init() and jas_cleanup() where deprecated in JasPer 3.0. There was also a functionality change in jas_init() which has stopped registering jas_cleanup() with 'atexit(3)', meaning that, when compiled with JasPer 3 or newer, there have been memory leaks in certain instances. This commit also introduces a memory limit for JasPer, without which, JasPer will log warnings to the standard error stream. We set a maximum of 512 MB, but will use whatever JasPer was configured with if it is lower. Signed-off-by: mio <stigma@disroot.org> (cherry picked from commit 0b5e696d79ab1a160293d520b7526e031238989a)
* Rename 'digikam' folder to 'src'Michele Calgaro2024-11-221-0/+715
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ee0d99607c14cb63d3ebdb3a970b508949fa8219)