Fix #901: add ftypavif magic for AVIF files
authorUwe Ohse  <>
Fri, 4 Jun 2021 13:29:57 +0000 (14:29 +0100)
committerColin Clark <colin.clark@cclark.uk>
Fri, 4 Jun 2021 13:29:57 +0000 (14:29 +0100)
commitd53e60b5471081f1d071083b71afa73cfd36adf0
tree6e1c108dde784840fe9525cde41f75d2d8cf3434
parent8cbc4289a632b38d52655ee9419192ba376aab1d
Fix #901: add ftypavif magic for AVIF files

https://github.com/BestImageViewer/geeqie/issues/901

AVIF loading depends on the magic numbers, and the current list of known magics in src/image-load.c
is: ftypheic, ftypmsf1, ftypmif1. This is okay for HEIF, but AVIF is a different beast with a different codec and a different magic ftypavif (which is generated by gimp and darktable), and a different file extension (.avif)
src/image-load.c