projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a9627a
)
Fix #1100:
author
Colin Clark
<colin.clark@cclark.uk>
Thu, 8 Jun 2023 09:43:55 +0000
(10:43 +0100)
committer
Colin 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
patch
|
blob
|
history
diff --git
a/src/image-load.cc
b/src/image-load.cc
index
a5b38ae
..
26b20a2
100644
(file)
--- a/
src/image-load.cc
+++ b/
src/image-load.cc
@@
-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)))