summaryrefslogtreecommitdiffstats
path: root/src/libs/dimg/loaders/jp2kloader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use JasPer 3 init/cleanup functionsmio2025-03-111-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>
* Rename 'digikam' folder to 'src'Michele Calgaro2024-11-221-0/+715
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>