Removed exif support; made gif support non-optional

This commit is contained in:
Bert Münnich
2012-02-11 02:42:52 +01:00
parent c3c95ab218
commit ef0ed32264
7 changed files with 16 additions and 160 deletions

View File

@ -17,7 +17,6 @@
*/
#define _POSIX_C_SOURCE 200112L
#define _FEATURE_CONFIG
#define _THUMBS_CONFIG
#include <stdlib.h>
@ -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();