changeset 28314:3e4486488465

add "<!DOCTYPE smil" to smil playlist patch by Gavin McCullagh gmccullagh!gmail!com
author compn
date Sat, 24 Jan 2009 22:14:32 +0000
parents e7be428f2772
children 82cf99fc9d2b
files playtreeparser.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/playtreeparser.c	Thu Jan 22 21:50:13 2009 +0000
+++ b/playtreeparser.c	Sat Jan 24 22:14:32 2009 +0000
@@ -453,6 +453,8 @@
       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