blob: b27c1675d763fde7d81591c3e521c02027690fe0 [file] [log] [blame]
Thomas G. Lane36a4ccc1994-09-24 00:00:00 +00001/*
2 * rdgif.c
3 *
Thomas G. Lane5ead57a1998-03-27 00:00:00 +00004 * Copyright (C) 1991-1997, Thomas G. Lane.
Thomas G. Lane36a4ccc1994-09-24 00:00:00 +00005 * This file is part of the Independent JPEG Group's software.
6 * For conditions of distribution and use, see the accompanying README file.
7 *
8 * This file contains routines to read input images in GIF format.
9 *
Thomas G. Lane5ead57a1998-03-27 00:00:00 +000010 *****************************************************************************
11 * NOTE: to avoid entanglements with Unisys' patent on LZW compression, *
12 * the ability to read GIF files has been removed from the IJG distribution. *
13 * Sorry about that. *
14 *****************************************************************************
Thomas G. Lane36a4ccc1994-09-24 00:00:00 +000015 *
Thomas G. Lane5ead57a1998-03-27 00:00:00 +000016 * We are required to state that
Thomas G. Lane36a4ccc1994-09-24 00:00:00 +000017 * "The Graphics Interchange Format(c) is the Copyright property of
18 * CompuServe Incorporated. GIF(sm) is a Service Mark property of
19 * CompuServe Incorporated."
20 */
21
22#include "cdjpeg.h" /* Common decls for cjpeg/djpeg applications */
23
24#ifdef GIF_SUPPORTED
25
Thomas G. Lane36a4ccc1994-09-24 00:00:00 +000026/*
27 * The module selection routine for GIF format input.
28 */
29
Thomas G. Lane489583f1996-02-07 00:00:00 +000030GLOBAL(cjpeg_source_ptr)
Thomas G. Lane36a4ccc1994-09-24 00:00:00 +000031jinit_read_gif (j_compress_ptr cinfo)
32{
Thomas G. Lane5ead57a1998-03-27 00:00:00 +000033 fprintf(stderr, "GIF input is unsupported for legal reasons. Sorry.\n");
34 exit(EXIT_FAILURE);
35 return NULL; /* keep compiler happy */
Thomas G. Lane36a4ccc1994-09-24 00:00:00 +000036}
37
38#endif /* GIF_SUPPORTED */