diff options
author | Thomas G. Lane <tgl@netcom.com> | 1998-03-27 00:00:00 +0000 |
---|---|---|
committer | DRC <information@libjpeg-turbo.org> | 2015-07-27 13:43:00 -0500 |
commit | 5ead57a34a398aa798f35bd7a6abad19b2e453e2 (patch) | |
tree | 28613ddc542c153d85afab078c9835864ed67f11 /jmemmgr.c | |
parent | 489583f5165e05d37302e8eeec58104ea0109127 (diff) | |
download | libjpeg-turbo-5ead57a34a398aa798f35bd7a6abad19b2e453e2.tar.gz |
The Independent JPEG Group's JPEG software v6b
Diffstat (limited to 'jmemmgr.c')
-rw-r--r-- | jmemmgr.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* * jmemmgr.c * - * Copyright (C) 1991-1996, Thomas G. Lane. + * Copyright (C) 1991-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * @@ -1076,6 +1076,9 @@ jinit_memory_mgr (j_common_ptr cinfo) mem->pub.free_pool = free_pool; mem->pub.self_destruct = self_destruct; + /* Make MAX_ALLOC_CHUNK accessible to other modules */ + mem->pub.max_alloc_chunk = MAX_ALLOC_CHUNK; + /* Initialize working state */ mem->pub.max_memory_to_use = max_to_use; |