diff playtreeparser.c @ 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 0fb5551413f7
children 0f1b5b68af32
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