etlegacy-libs/jpegturbo/rdgif.c

40 lines
1.3 KiB
C
Raw Normal View History

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