summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Sturm <sturm@cvs.openbsd.org>2007-04-08 06:11:40 +0000
committerNikolay Sturm <sturm@cvs.openbsd.org>2007-04-08 06:11:40 +0000
commit8011445ddc68deee97ebbc93e05aa11dbe79e30f (patch)
tree7aebdc9b1b48e5b2d115d91817f3c1c3c6ba3c56
parent64ce8e48bd3c59453f5f7c1fcd4a380c59fa16d6 (diff)
detect MP3 file with ID3 v2 tag
ok deraadt
-rw-r--r--usr.bin/file/magdir/audio7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/file/magdir/audio b/usr.bin/file/magdir/audio
index 64f9163ea82..b3f513c686d 100644
--- a/usr.bin/file/magdir/audio
+++ b/usr.bin/file/magdir/audio
@@ -1,4 +1,4 @@
-# $OpenBSD: audio,v 1.8 2005/09/06 21:05:55 fgsch Exp $
+# $OpenBSD: audio,v 1.9 2007/04/08 06:11:39 sturm Exp $
#------------------------------------------------------------------------------
# audio: file(1) magic for sound formats (see also "iff")
@@ -263,3 +263,8 @@
>>21 byte&0xf 0 \b
>>>22 belong >0 \b, %u samples
>>>22 belong 0 \b, length unknown
+
+# ID3 version 2 tags <waschk@informatik.uni-rostock.de>
+0 string ID3 MP3 file with ID3 version 2.
+>3 ubyte <0xff \b%d.
+>4 ubyte <0xff \b%d tag