OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jmemmgr.c | 2 * jmemmgr.c |
4 * | 3 * |
5 * Copyright (C) 1991-1997, Thomas G. Lane. | 4 * Copyright (C) 1991-1997, Thomas G. Lane. |
6 * This file is part of the Independent JPEG Group's software. | 5 * This file is part of the Independent JPEG Group's software. |
7 * For conditions of distribution and use, see the accompanying README file. | 6 * For conditions of distribution and use, see the accompanying README file. |
8 * | 7 * |
9 * This file contains the JPEG system-independent memory management | 8 * This file contains the JPEG system-independent memory management |
10 * routines. This code is usable across a wide variety of machines; most | 9 * routines. This code is usable across a wide variety of machines; most |
11 * of the system dependencies have been isolated in a separate file. | 10 * of the system dependencies have been isolated in a separate file. |
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1112 if (sscanf(memenv, "%ld%c", &max_to_use, &ch) > 0) { | 1111 if (sscanf(memenv, "%ld%c", &max_to_use, &ch) > 0) { |
1113 if (ch == 'm' || ch == 'M') | 1112 if (ch == 'm' || ch == 'M') |
1114 max_to_use *= 1000L; | 1113 max_to_use *= 1000L; |
1115 mem->pub.max_memory_to_use = max_to_use * 1000L; | 1114 mem->pub.max_memory_to_use = max_to_use * 1000L; |
1116 } | 1115 } |
1117 } | 1116 } |
1118 } | 1117 } |
1119 #endif | 1118 #endif |
1120 | 1119 |
1121 } | 1120 } |
1122 | |
1123 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |