]> git.pld-linux.org Git - packages/gd.git/blob - gd-liq.patch
- release 6 (libavif 0.11.x)
[packages/gd.git] / gd-liq.patch
1 --- libgd-2.2.3/src/gd_topal.c.orig     2016-07-21 10:06:42.000000000 +0200
2 +++ libgd-2.2.3/src/gd_topal.c  2016-08-27 21:45:24.911652643 +0200
3 @@ -1545,7 +1545,7 @@
4  #ifdef HAVE_LIBIMAGEQUANT
5         if (oim->paletteQuantizationMethod == GD_QUANT_DEFAULT ||
6                 oim->paletteQuantizationMethod == GD_QUANT_LIQ) {
7 -               liq_attr *attr = liq_attr_create_with_allocator(gdMalloc, gdFree);
8 +               liq_attr *attr = liq_attr_create(); // not passing gdMalloc/gdFree as allocators: they are just malloc/free, but liq requires 16-byte alignment
9                 liq_image *image;
10                 liq_result *remap;
11                 int remapped_ok = 0;
This page took 0.047795 seconds and 3 git commands to generate.