Changeset 12079
- Timestamp:
- 09/05/07 16:06:43 (1 year ago)
- Files:
-
- trunk/gdal/frmts/jpeg/jpgdataset.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gdal/frmts/jpeg/jpgdataset.cpp
r12061 r12079 1349 1349 jpeg_create_decompress( &(poDS->sDInfo) ); 1350 1350 1351 /* This is to address bug related in ticket #1795 */ 1352 if (CPLGetConfigOption("JPEGMEM", NULL) == NULL) 1353 { 1354 /* If the user doesn't provide a value for JPEGMEM, we want to be sure */ 1355 /* that at least 500 MB will be used before creating the temporary file */ 1356 poDS->sDInfo.mem->max_memory_to_use = 1357 MAX(poDS->sDInfo.mem->max_memory_to_use, 500 * 1024 * 1024); 1358 } 1359 1351 1360 /* -------------------------------------------------------------------- */ 1352 1361 /* Preload default NITF JPEG quantization tables. */
