git: 9front

Download patch

ref: 5e4cc98049e273849986e95018f3813c7da3285a
parent: 3734e08db01f1ac6b4c3b0edd39a824746abd56c
author: stanley lieber <stanley.lieber@gmail.com>
date: Thu Aug 22 08:14:57 EDT 2013

file(1): recognize AAC audio files, from sources

--- a/sys/src/cmd/file.c
+++ b/sys/src/cmd/file.c
@@ -610,6 +610,7 @@
 	070707,		0xFFFF,		"cpio archive", "application/x-cpio",
 	0x2F7,		0xFFFF,		"tex dvi", "application/dvi",
 	0xfaff,		0xfeff,		"mp3 audio",	"audio/mpeg",
+	0xf0ff,		0xf6ff,		"aac audio\n",	"audio/mpeg",
 	/* 0xfeedface: this could alternately be a Next Plan 9 boot image */
 	0xcefaedfe,	0xFFFFFFFF,	"32-bit power Mach-O executable", OCTET,
 	/* 0xfeedfacf */
--