| 6 |
| * For conditions of distribution and use, see the accompanying README.ijg |
| 7 | * file. |
| 8 | * |
| 9 | * This file contains routines to read input images in GIF format. |
| 10 | * |
| 11 | ***************************************************************************** |
| 12 | * NOTE: to avoid entanglements with Unisys' patent on LZW compression, * |
| 13 | * the ability to read GIF files has been removed from the IJG distribution. * |
| 14 | * Sorry about that. * |
| 15 | ***************************************************************************** |
| 16 | * |
| 17 | * We are required to state that |
| 18 | * "The Graphics Interchange Format(c) is the Copyright property of |
| 19 | * CompuServe Incorporated. GIF(sm) is a Service Mark property of |
| 20 | * CompuServe Incorporated." |
| 21 | */ |
| 22 |
| 23 | #include "cdjpeg.h" /* Common decls for cjpeg/djpeg applications */ |
| 24 |
| 25 | #ifdef GIF_SUPPORTED |
| 26 |
| 27 | /* |
| 28 | * The module selection routine for GIF format input. |
| 29 | */ |
| 30 |
| 31 | GLOBAL(cjpeg_source_ptr) |
| 32 | jinit_read_gif(j_compress_ptr cinfo) |
| 33 | { |
| 34 | fprintf(stderr, "GIF input is unsupported for legal reasons. Sorry.\n"); |
| 35 | exit(EXIT_FAILURE); |
| 36 | return NULL; /* keep compiler happy */ |
| 37 | } |
| 38 |
| 39 | #endif /* GIF_SUPPORTED */ |
| 40 |