ref: b479ec0292521b730c716bd7d07b16514178932a
parent: 5356f74bad737f0e4f08128a69ba9399bdffdeee
author: qwx <qwx@sciops.net>
date: Sun Mar 8 20:20:37 EDT 2020
file-opus: check for ogg/opus before mp3 to avoid confusion
--- a/file-opus
+++ b/file-opus
@@ -1,6 +1,6 @@
-diff -r d6c26034ff13 sys/src/cmd/file.c
---- a/sys/src/cmd/file.c Sun Jan 12 00:19:39 2020 +0100
-+++ b/sys/src/cmd/file.c Sun Jan 12 17:12:40 2020 +0100
+diff -r 3eeb3c31adff sys/src/cmd/file.c
+--- a/sys/src/cmd/file.c Sun Mar 08 05:52:23 2020 +0100
++++ b/sys/src/cmd/file.c Mon Mar 09 01:19:09 2020 +0100
@@ -153,6 +153,8 @@
int istga(void);
int ismp3(void);
@@ -10,15 +10,15 @@
int ismung(void);
int isp9bit(void);
int isp9font(void);
-@@ -203,6 +205,8 @@
+@@ -201,6 +203,8 @@
+ isicocur, /* windows icon or cursor file */
+ isface, /* ascii face file */
istga,
- ismp3,
- ismp4,
+ isoggvorbis,
+ isoggopus,
+ ismp3,
+ ismp4,
- /* last resorts */
- ismung, /* entropy compressed/encrypted */
@@ -838,7 +842,6 @@
"\033%-12345X", "HPJCL file", 9, "application/hpjcl",
"\033Lua", "Lua bytecode", 4, OCTET,