From ef0ed3226428c00507e76bdda77c522729ed6809 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Sat, 11 Feb 2012 02:42:52 +0100 Subject: Removed exif support; made gif support non-optional --- thumbs.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'thumbs.c') diff --git a/thumbs.c b/thumbs.c index 451947e..bbb97b9 100644 --- a/thumbs.c +++ b/thumbs.c @@ -17,7 +17,6 @@ */ #define _POSIX_C_SOURCE 200112L -#define _FEATURE_CONFIG #define _THUMBS_CONFIG #include @@ -31,10 +30,6 @@ #include "util.h" #include "config.h" -#if EXIF_SUPPORT -void exif_auto_orientate(const fileinfo_t*); -#endif - const int thumb_dim = THUMB_SIZE + 10; char *cache_dir = NULL; @@ -211,7 +206,7 @@ void tns_free(tns_t *tns) { } bool tns_load(tns_t *tns, int n, const fileinfo_t *file, - bool force, bool silent) + bool force, bool silent) { int w, h; bool use_cache, cache_hit = false; @@ -259,10 +254,6 @@ bool tns_load(tns_t *tns, int n, const fileinfo_t *file, imlib_free_image_and_decache(); return false; } -#if EXIF_SUPPORT - if (!cache_hit && STREQ(fmt, "jpeg")) - exif_auto_orientate(file); -#endif w = imlib_image_get_width(); h = imlib_image_get_height(); -- cgit v1.2.3-70-g09d2