Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / compiler / libjpeg / test / rdgif.c
blob03f99892680d6ee843525451607960f5b8a5ca9a
1 /*
2 $Id$
3 */
5 /*
6 * rdgif.c
8 * Copyright (C) 1991-1997, Thomas G. Lane.
9 * This file is part of the Independent JPEG Group's software.
10 * For conditions of distribution and use, see the accompanying README file.
12 * This file contains routines to read input images in GIF format.
14 *****************************************************************************
15 * NOTE: to avoid entanglements with Unisys' patent on LZW compression, *
16 * the ability to read GIF files has been removed from the IJG distribution. *
17 * Sorry about that. *
18 *****************************************************************************
20 * We are required to state that
21 * "The Graphics Interchange Format(c) is the Copyright property of
22 * CompuServe Incorporated. GIF(sm) is a Service Mark property of
23 * CompuServe Incorporated."
26 #include "cdjpeg.h" /* Common decls for cjpeg/djpeg applications */
28 #ifdef GIF_SUPPORTED
31 * The module selection routine for GIF format input.
34 JGLOBAL(cjpeg_source_ptr)
35 jinit_read_gif (j_compress_ptr cinfo)
37 fprintf(stderr, "GIF input is unsupported for legal reasons. Sorry.\n");
38 exit(EXIT_FAILURE);
39 return NULL; /* keep compiler happy */
42 #endif /* GIF_SUPPORTED */