This patch adds a few more types of MOD files which would be missed otherwise.<br><br>---<br> modules/demux/mod.c | 9 ++++++---<br> 1 files changed, 6 insertions(+), 3 deletions(-)<br><br>diff --git a/modules/demux/mod.c b/modules/demux/mod.c<br>
index 15e45bd..bc7ec69 100644<br>--- a/modules/demux/mod.c<br>+++ b/modules/demux/mod.c<br>@@ -401,8 +401,10 @@ static int Validate( demux_t *p_demux, const char *psz_ext )<br> { 20, "!SCREAM!" }, /* STM */<br>
{ 20, "!Scream!" }, /* STM */<br> { 20, "BMOD2STM" }, /* STM */<br>- { 0, "MMD0" }, /* MED */<br>- { 0, "MMD1" }, /* MED */<br>
+ { 0, "MMD0" }, /* MED v0 */<br>+ { 0, "MMD1" }, /* MED v1 */<br>+ { 0, "MMD2" }, /* MED v2 */<br>+ { 0, "MMD3" }, /* MED v3 */<br>
{ 0, "MTM" }, /* MTM */<br> { 0, "DMDL" }, /* MDL */<br> { 0, "DBM0" }, /* DBM */<br>@@ -416,7 +418,8 @@ static int Validate( demux_t *p_demux, const char *psz_ext )<br>
{ 0, "DDMF" }, /* DMF */<br> { 8, "DSMFSONG" }, /* DSM */<br> { 0, "\xc1\x83\x2a\x9e" }, /* UMX */<br>- { 0, "ASYLUM Music Format V1.0" }, /* AMF */<br>
+ { 0, "ASYLUM Music Format V1.0" }, /* AMF Type 0 */<br>+ { 0, "AMF" }, /* AMF */<br> { 0, "PSM\xfe" }, /* PSM */<br> { 0, "PSM " }, /* PSM */<br>
{ 0, "MT20" }, /* MT2 */<br>-- <br>1.6.0.6<br><br>