Commit e43211ad authored by Manuel Günther's avatar Manuel Günther
Browse files

Changed logic of GIF version test

parent 48f8b35b
Pipeline #3699 passed with stages
in 37 minutes and 44 seconds
......@@ -282,9 +282,9 @@ QuantizeBuffer(unsigned int Width, unsigned int Height, int *ColorMapSize,
static void GifErrorHandler(const char* fname, int error) {
#if defined(GIF_LIB_VERSION) || (GIFLIB_MAJOR < 5)
const char* error_string = GifErrorString(error);
const char* error_string = "unknown error (giflib < 5)";
const char* error_string = GifErrorString(error);
boost::format m("GIF: error in %s(): (%d) %s");
m % fname % error;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment