Fix #1100:
authorColin Clark <colin.clark@cclark.uk>
Thu, 8 Jun 2023 09:43:55 +0000 (10:43 +0100)
committerColin Clark <colin.clark@cclark.uk>
Thu, 8 Jun 2023 09:43:55 +0000 (10:43 +0100)
https://github.com/BestImageViewer/geeqie/issues/1100#issuecomment-1581251045

Another signature for .heic files.

src/image-load.cc

index a5b38ae..26b20a2 100644 (file)
@@ -663,6 +663,7 @@ static void image_loader_setup_loader(ImageLoader *il)
 #ifdef HAVE_HEIF
        if (il->bytes_total >= 12 &&
                ((memcmp(il->mapped_file + 4, "ftypheic", 8) == 0) ||
+               (memcmp(il->mapped_file + 4, "ftypheix", 8) == 0) ||
                (memcmp(il->mapped_file + 4, "ftypmsf1", 8) == 0) ||
                (memcmp(il->mapped_file + 4, "ftypmif1", 8) == 0) ||
                (memcmp(il->mapped_file + 4, "ftypavif", 8) == 0)))