jpeg.library: allocate pool at init, deallocate at expunge
commitd05e62eb4d12077e46f656f63a495e759f029dbf
authordeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 29 Dec 2013 16:20:18 +0000 (29 16:20 +0000)
committerdeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 29 Dec 2013 16:20:18 +0000 (29 16:20 +0000)
tree6e1cb5f3011ce8cc65c08ac7d1664b1d1bef4444
parentcbd83de899c7b54ff7924a8f6539ca6578a1e201
jpeg.library: allocate pool at init, deallocate at expunge

jpeg_mem_init and jpeg_mem_term are called per each decompression.
If there are parallel decompressions, mempools were overwritten/lost/freed
too soon causing random memory problems

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48658 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/libs/jpeg/jmemamiga.c