projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe9a37d
)
initialize the SortFlag for colour maps for giflib 5.x
author
Tony Cook
<tony@develop-help.com>
Mon, 15 Oct 2012 08:39:36 +0000
(19:39 +1100)
committer
Tony Cook
<tony@develop-help.com>
Mon, 15 Oct 2012 08:39:36 +0000
(19:39 +1100)
GIF/imgif.c
patch
|
blob
|
blame
|
history
diff --git
a/GIF/imgif.c
b/GIF/imgif.c
index a0c31b722b2d4ada0d46a2fdc3cdc2d171ea90c6..8dfe83454fea5e990c49530d41533d90242c16e5 100644
(file)
--- a/
GIF/imgif.c
+++ b/
GIF/imgif.c
@@
-1210,6
+1210,9
@@
make_gif_map(i_quantize *quant, i_img *img, int want_trans) {
i_push_error(0, "Could not create color map object");
return NULL;
}
+#if defined GIFLIB_MAJOR && GIFLIB_MAJOR >= 5
+ map->SortFlag = 0;
+#endif
return map;
}