diff options
author | Jürg Billeter <j@bitron.ch> | 2011-11-04 13:51:06 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2011-11-04 16:05:16 +0000 |
commit | 9ed7a2a7f5cb12dbeb258a47902bff7b71f66e06 (patch) | |
tree | 89473fee61fce7c86923d69792a728cc784d589d | |
parent | 00dceabf363b9688023fbb9861b54a2ccb673930 (diff) |
Fix magic for MP3 files without ID3
-rw-r--r-- | freedesktop.org.xml.in | 2 | ||||
-rw-r--r-- | tests/list | 2 | ||||
-rw-r--r-- | tests/test-noid3.mp3 | bin | 0 -> 9194 bytes |
3 files changed, 3 insertions, 1 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index adcd1b3..b69ef05 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -3524,7 +3524,7 @@ command to generate the output files. <alias type="audio/x-mpeg"/> <alias type="audio/mp3"/> <magic priority="50"> - <match type="big32" value="0xfffb" offset="0"/> + <match type="big16" value="0xfffb" offset="0"/> <match type="string" value="ID3" offset="0"/> </magic> <glob pattern="*.mp3"/> @@ -310,6 +310,8 @@ settopbox.ts video/mp2t xo # Bastien's hard drive bbc.ram application/ram oxo bbc.ram application/vnd.rn-realmedia xox +# Converted from test.wav +test-noid3.mp3 audio/mpeg # Video game ROMs genesis1.bin application/x-genesis-rom xox diff --git a/tests/test-noid3.mp3 b/tests/test-noid3.mp3 Binary files differnew file mode 100644 index 0000000..18bc576 --- /dev/null +++ b/tests/test-noid3.mp3 |