summaryrefslogtreecommitdiff
path: root/plugins/FreeImage/src/LibJPEG/rdgif.c
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-10-12 10:49:29 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-10-12 10:49:29 +0000
commit557f2816f5cd30705dec989c97a8a67c026d36d1 (patch)
tree4900789ab5d52219bf065744a61f9ea5863b3428 /plugins/FreeImage/src/LibJPEG/rdgif.c
parent69fe21d6e2262d6fb2b14278b7a20364468cbdcf (diff)
FreeImage: folders restructurization
git-svn-id: http://svn.miranda-ng.org/main/trunk@1884 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FreeImage/src/LibJPEG/rdgif.c')
-rw-r--r--plugins/FreeImage/src/LibJPEG/rdgif.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/plugins/FreeImage/src/LibJPEG/rdgif.c b/plugins/FreeImage/src/LibJPEG/rdgif.c
new file mode 100644
index 0000000000..b0757e718f
--- /dev/null
+++ b/plugins/FreeImage/src/LibJPEG/rdgif.c
@@ -0,0 +1,38 @@
+/*
+ * rdgif.c
+ *
+ * Copyright (C) 1991-1997, Thomas G. Lane.
+ * This file is part of the Independent JPEG Group's software.
+ * For conditions of distribution and use, see the accompanying README file.
+ *
+ * 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."
+ */
+
+#include "cdjpeg.h" /* Common decls for cjpeg/djpeg applications */
+
+#ifdef GIF_SUPPORTED
+
+/*
+ * The module selection routine for GIF format input.
+ */
+
+GLOBAL(cjpeg_source_ptr)
+jinit_read_gif (j_compress_ptr cinfo)
+{
+ fprintf(stderr, "GIF input is unsupported for legal reasons. Sorry.\n");
+ exit(EXIT_FAILURE);
+ return NULL; /* keep compiler happy */
+}
+
+#endif /* GIF_SUPPORTED */