summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Henrie <alexhenrie24@gmail.com>2023-08-11 23:45:24 -0700
committerAlex Henrie <alexhenrie24@gmail.com>2023-08-19 00:29:19 -0600
commit02741a47ae6bc8e3f335e37806d9abcd8db341f3 (patch)
tree2bc25d38bc26d9567726a0f978626b132b36aa71
parentdea648cdf765a0fc4fb1bda36e1387b219d86631 (diff)
Prefer video/vnd.avi over video/x-msvideo
https://datatracker.ietf.org/doc/html/rfc2361
-rw-r--r--data/freedesktop.org.xml.in3
-rw-r--r--tests/mime-detection/list4
2 files changed, 4 insertions, 3 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index e53051d..9c5180b 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -7214,7 +7214,7 @@ command to generate the output files.
<sub-class-of type="application/vnd.ms-asf"/>
<glob pattern="*.wmv"/>
</mime-type>
- <mime-type type="video/x-msvideo">
+ <mime-type type="video/vnd.avi">
<comment>AVI Video</comment>
<acronym>AVI</acronym>
<expanded-acronym>Audio Video Interleave</expanded-acronym>
@@ -7223,6 +7223,7 @@ command to generate the output files.
<alias type="video/divx"/>
<alias type="video/msvideo"/>
<alias type="video/vnd.divx"/>
+ <alias type="video/x-msvideo"/>
<magic>
<match type="string" value="RIFF" offset="0">
<match type="string" value="AVI " offset="8"/>
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index 5f65e76..f4844f3 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -550,9 +550,9 @@ extractthis.asar application/x-asar
test.aiff audio/x-aiff
# Copied from /usr/share/sounds/generic.wav
test.wav audio/vnd.wave
-test.avi video/x-msvideo
+test.avi video/vnd.avi
# https://bugs.freedesktop.org/show_bug.cgi?id=55336
-test.avf video/x-msvideo
+test.avf video/vnd.avi
# Copied from http://modarchive.org/index.php?request=view_by_moduleid&query=155849
hereyes_remake.mo3 audio/x-mo3
# Copied from http://media.annodex.net/cmmlwiki/CCFilm