kusano 7d535a
/*
kusano 7d535a
 * rdgif.c
kusano 7d535a
 *
kusano 7d535a
 * Copyright (C) 1991-1997, Thomas G. Lane.
kusano 7d535a
 * This file is part of the Independent JPEG Group's software.
kusano 7d535a
 * For conditions of distribution and use, see the accompanying README file.
kusano 7d535a
 *
kusano 7d535a
 * This file contains routines to read input images in GIF format.
kusano 7d535a
 *
kusano 7d535a
 *****************************************************************************
kusano 7d535a
 * NOTE: to avoid entanglements with Unisys' patent on LZW compression,      *
kusano 7d535a
 * the ability to read GIF files has been removed from the IJG distribution. *
kusano 7d535a
 * Sorry about that.                                                         *
kusano 7d535a
 *****************************************************************************
kusano 7d535a
 *
kusano 7d535a
 * We are required to state that
kusano 7d535a
 *    "The Graphics Interchange Format(c) is the Copyright property of
kusano 7d535a
 *    CompuServe Incorporated. GIF(sm) is a Service Mark property of
kusano 7d535a
 *    CompuServe Incorporated."
kusano 7d535a
 */
kusano 7d535a
kusano 7d535a
#include "cdjpeg.h"		/* Common decls for cjpeg/djpeg applications */
kusano 7d535a
kusano 7d535a
#ifdef GIF_SUPPORTED
kusano 7d535a
kusano 7d535a
/*
kusano 7d535a
 * The module selection routine for GIF format input.
kusano 7d535a
 */
kusano 7d535a
kusano 7d535a
GLOBAL(cjpeg_source_ptr)
kusano 7d535a
jinit_read_gif (j_compress_ptr cinfo)
kusano 7d535a
{
kusano 7d535a
  fprintf(stderr, "GIF input is unsupported for legal reasons.  Sorry.\n");
kusano 7d535a
  exit(EXIT_FAILURE);
kusano 7d535a
  return NULL;			/* keep compiler happy */
kusano 7d535a
}
kusano 7d535a
kusano 7d535a
#endif /* GIF_SUPPORTED */