OLD | NEW |
1 #if !defined(_FX_JPEG_TURBO_) | |
2 /* | 1 /* |
3 * jerror.c | 2 * jerror.c |
4 * | 3 * |
5 * Copyright (C) 1991-1998, Thomas G. Lane. | 4 * Copyright (C) 1991-1998, 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 simple error-reporting and trace-message routines. | 8 * This file contains simple error-reporting and trace-message routines. |
10 * These are suitable for Unix-like systems and others where writing to | 9 * These are suitable for Unix-like systems and others where writing to |
11 * stderr is the right thing to do. Many applications will want to replace | 10 * stderr is the right thing to do. Many applications will want to replace |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 /* Initialize message table pointers */ | 230 /* Initialize message table pointers */ |
232 err->jpeg_message_table = jpeg_std_message_table; | 231 err->jpeg_message_table = jpeg_std_message_table; |
233 err->last_jpeg_message = (int) JMSG_LASTMSGCODE - 1; | 232 err->last_jpeg_message = (int) JMSG_LASTMSGCODE - 1; |
234 | 233 |
235 err->addon_message_table = NULL; | 234 err->addon_message_table = NULL; |
236 err->first_addon_message = 0; /* for safety */ | 235 err->first_addon_message = 0; /* for safety */ |
237 err->last_addon_message = 0; | 236 err->last_addon_message = 0; |
238 | 237 |
239 return err; | 238 return err; |
240 } | 239 } |
241 | |
242 #endif //_FX_JPEG_TURBO_ | |
OLD | NEW |