summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/freedesktop.org.xml.in10
-rw-r--r--tests/mime-detection/list2
2 files changed, 8 insertions, 4 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 405b2590..ea904b12 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -4142,12 +4142,16 @@ command to generate the output files.
<magic priority="50">
<!-- https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/aadec.c#L33 -->
<match type="big32" value="1469084982" offset="4"/>
- <match type="string" value="aax " offset="8"/>
</magic>
<glob pattern="*.aa"/>
- <glob pattern="*.aax"/>
<alias type="audio/vnd.audible"/>
- <alias type="audio/vnd.audible.aax"/>
+ </mime-type>
+ <mime-type type="audio/vnd.audible.aax">
+ <comment>Audible Enhanced audio</comment>
+ <magic priority="50">
+ <match type="string" value="ftypaax " offset="4"/>
+ </magic>
+ <glob pattern="*.aax"/>
</mime-type>
<mime-type type="audio/x-it">
<comment>Impulse Tracker audio</comment>
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index 8751bc5c..bc72b0f1 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -510,7 +510,7 @@ simon.669 audio/x-mod
4jsno.669 audio/x-mod
# Copied from https://github.com/inAudible-NG/audible-samples
test.aa audio/x-pn-audibleaudio
-test.aax audio/x-pn-audibleaudio
+test.aax audio/vnd.audible.aax
# MPEG-4 files
mp4v1-video-header.mp4 video/mp4
mp4v2-video-header.mp4 video/mp4