[vlc-devel] commit: Adds a few more types of MOD files (Konstanty )

git version control git at videolan.org
Sun Apr 26 16:06:28 CEST 2009


vlc | branch: master | Konstanty <konstanty at gmail.com> | Sun Apr 26 16:05:44 2009 +0200| [b0271aa7ebeace5b35f680e9aecba73b267c6af3] | committer: Laurent Aimar 

Adds a few more types of MOD files

Signed-off-by: Laurent Aimar <fenrir at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b0271aa7ebeace5b35f680e9aecba73b267c6af3
---

 modules/demux/mod.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/modules/demux/mod.c b/modules/demux/mod.c
index 15e45bd..725f0ad 100644
--- a/modules/demux/mod.c
+++ b/modules/demux/mod.c
@@ -401,8 +401,10 @@ static int Validate( demux_t *p_demux, const char *psz_ext )
         { 20, "!SCREAM!" },             /* STM */
         { 20, "!Scream!" },             /* STM */
         { 20, "BMOD2STM" },             /* STM */
-        {  0, "MMD0" },                 /* MED */
-        {  0, "MMD1" },                 /* MED */
+        {  0, "MMD0" },                 /* MED v0 */
+        {  0, "MMD1" },                 /* MED v1 */
+        {  0, "MMD2" },                 /* MED v2 */
+        {  0, "MMD3" },                 /* MED v3 */
         {  0, "MTM" },                  /* MTM */
         {  0, "DMDL" },                 /* MDL */
         {  0, "DBM0" },                 /* DBM */
@@ -416,7 +418,8 @@ static int Validate( demux_t *p_demux, const char *psz_ext )
         {  0, "DDMF" },                 /* DMF */
         {  8, "DSMFSONG" },             /* DSM */
         {  0, "\xc1\x83\x2a\x9e" },     /* UMX */
-        {  0, "ASYLUM Music Format V1.0" }, /* AMF */
+        {  0, "ASYLUM Music Format V1.0" }, /* AMF Type 0 */
+        {  0, "AMF" },                  /* AMF */
         {  0, "PSM\xfe" },              /* PSM */
         {  0, "PSM " },                 /* PSM */
         {  0, "MT20" },                 /* MT2 */




More information about the vlc-devel mailing list