From 8011445ddc68deee97ebbc93e05aa11dbe79e30f Mon Sep 17 00:00:00 2001 From: Nikolay Sturm Date: Sun, 8 Apr 2007 06:11:40 +0000 Subject: detect MP3 file with ID3 v2 tag ok deraadt --- usr.bin/file/magdir/audio | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'usr.bin/file') 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 +0 string ID3 MP3 file with ID3 version 2. +>3 ubyte <0xff \b%d. +>4 ubyte <0xff \b%d tag -- cgit v1.2.3