00001 /* 00002 * rdgif.c 00003 * 00004 * Copyright (C) 1991-1997, Thomas G. Lane. 00005 * This file is part of the Independent JPEG Group's software. 00006 * For conditions of distribution and use, see the accompanying README file. 00007 * 00008 * This file contains routines to read input images in GIF format. 00009 * 00010 ***************************************************************************** 00011 * NOTE: to avoid entanglements with Unisys' patent on LZW compression, * 00012 * the ability to read GIF files has been removed from the IJG distribution. * 00013 * Sorry about that. * 00014 ***************************************************************************** 00015 * 00016 * We are required to state that 00017 * "The Graphics Interchange Format(c) is the Copyright property of 00018 * CompuServe Incorporated. GIF(sm) is a Service Mark property of 00019 * CompuServe Incorporated." 00020 */ 00021 00022 #include "cdjpeg.h" /* Common decls for cjpeg/djpeg applications */ 00023 00024 #ifdef GIF_SUPPORTED 00025 00026 /* 00027 * The module selection routine for GIF format input. 00028 */ 00029 00030 GLOBAL(cjpeg_source_ptr) 00031 jinit_read_gif (j_compress_ptr cinfo) 00032 { 00033 fprintf(stderr, "GIF input is unsupported for legal reasons. Sorry.\n"); 00034 exit(EXIT_FAILURE); 00035 return NULL; /* keep compiler happy */ 00036 } 00037 00038 #endif /* GIF_SUPPORTED */