summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Novomesky <dnovomesky@gmail.com>2020-08-20 18:58:20 +0200
committerDaniel Novomesky <dnovomesky@gmail.com>2020-08-22 22:40:56 +0200
commitdedbf256bf7e7a4ee106b645dc2bc0fc3b21ea8c (patch)
tree117a33688604f8211af5de6283d73d2502336911
parent14c3340fe2a409cd9de21e196a8e96a3fffabbb9 (diff)
downloadshared-mime-info-dedbf256bf7e7a4ee106b645dc2bc0fc3b21ea8c.tar.gz
Remove image/avif-sequence
Latest AVIF specification draft removed definition of image/avif-sequence mime type, so instead of two mime types (image/avif and image/avif-sequence) only one image/avif will be used in future.
-rw-r--r--data/freedesktop.org.xml.in16
-rw-r--r--tests/mime-detection/list2
2 files changed, 9 insertions, 9 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 822c88cf..0db4d7c2 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -7378,16 +7378,16 @@ command to generate the output files.
<mime-type type="image/avif">
<comment>AV1 Image File Format (AVIF)</comment>
<magic priority="50">
- <match type="string" value="ftypavif" offset="4"/>
- <match type="string" value="ftypmif1" offset="4"/>
+ <match type="string" value="ftypavif" offset="4"/>
+ <match type="string" value="ftypavis" offset="4"/>
+ <match type="string" value="ftypmif1" offset="4">
+ <match type="string" value="avif" offset="16"/>
+ <match type="string" value="avif" offset="20"/>
+ <match type="string" value="avif" offset="24"/>
+ </match>
</magic>
<glob pattern="*.avif"/>
- </mime-type>
- <mime-type type="image/avif-sequence">
- <comment>AVIF image sequence</comment>
- <magic priority="50">
- <match type="string" value="ftypavis" offset="4"/>
- </magic>
<glob pattern="*.avifs"/>
+ <alias type="image/avif-sequence"/>
</mime-type>
</mime-info>
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index 76d4f957..7ccf5d02 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -757,4 +757,4 @@ test.kt text/x-kotlin ox
# AV1 Image File Format (AVIF)
# https://aomediacodec.github.io/av1-avif/
test.avif image/avif
-test.avifs image/avif-sequence
+test.avifs image/avif