summaryrefslogtreecommitdiffstats
path: root/tdeprint/ppdscanner.l
diff options
context:
space:
mode:
authormio <stigma@disroot.org>2024-09-21 12:10:59 +1000
committermio <stigma@disroot.org>2024-09-22 18:12:55 +1000
commitcb2ce97afa2f18427c1b4b3857fd56f69ce83d97 (patch)
tree8338c6b7851606dec64428ec9d0e2a558ba95b2c /tdeprint/ppdscanner.l
parent5c1b76e6bf8e72bc04fe819b5e8bc2cd83241cf1 (diff)
downloadtdelibs-cb2ce97afa2f18427c1b4b3857fd56f69ce83d97.tar.gz
tdelibs-cb2ce97afa2f18427c1b4b3857fd56f69ce83d97.zip
Improve JasPer 3/4 support
Versions prior to 3 registered an atexit hander which performed resource cleanup with 'jas_cleanup', this was removed in version 3 meaning we were leaking resources. The 'jas_init' and 'jas_cleanup' functions were deprecated in version 3, so we use the newer jas_init_library/jas_init_thread functions. The max memory that JasPer can use has been limited to (at most) 512 MB. Without this change, JasPer will use whatever JAS_DEFAULT_MAX_MEM_USAGE is configured to, which is 1 GB by default. Signed-off-by: mio <stigma@disroot.org>
Diffstat (limited to 'tdeprint/ppdscanner.l')
0 files changed, 0 insertions, 0 deletions