[MPlayer-cvslog] r28349 - trunk/playtreeparser.c

compn subversion at mplayerhq.hu
Sat Jan 24 23:14:33 CET 2009


Author: compn
Date: Sat Jan 24 23:14:32 2009
New Revision: 28349

Log:
add "<!DOCTYPE smil" to smil playlist
patch by Gavin McCullagh gmccullagh!gmail!com

Modified:
   trunk/playtreeparser.c

Modified: trunk/playtreeparser.c
==============================================================================
--- trunk/playtreeparser.c	Thu Jan 22 22:50:13 2009	(r28348)
+++ trunk/playtreeparser.c	Sat Jan 24 23:14:32 2009	(r28349)
@@ -453,6 +453,8 @@ parse_smil(play_tree_parser_t* p) {
       continue;
     if (strncasecmp(line,"<?xml",5)==0) // smil in xml
       continue;
+    if (strncasecmp(line,"<!DOCTYPE smil",13)==0) // smil in xml
+      continue;
     if (strncasecmp(line,"<smil",5)==0 || strncasecmp(line,"<?wpl",5)==0 ||
       strncasecmp(line,"(smil-document",14)==0)
       break; // smil header found



More information about the MPlayer-cvslog mailing list