changeset 21910:36a474903e8a

10l, fix inverted check for "<media" in smil playlist
author rtogni
date Sun, 14 Jan 2007 23:16:27 +0000
parents d46c88125495
children e86bb13ec44b
files playtreeparser.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/playtreeparser.c	Sun Jan 14 22:58:25 2007 +0000
+++ b/playtreeparser.c	Sun Jan 14 23:16:27 2007 +0000
@@ -459,7 +459,7 @@
     if (line[0]=='\0')
       continue;
     if (!entrymode) { // all entries filled so far 
-      if (strncasecmp(line,"<video",6)==0  || strncasecmp(line,"<audio",6)==0 || strncasecmp(line,"<media",6)) {
+      if (strncasecmp(line,"<video",6)==0  || strncasecmp(line,"<audio",6)==0 || strncasecmp(line,"<media",6)==0) {
         pos=strstr(line,"src=");   // Is source present on this line
         if (pos !=NULL) {
           s_start=pos+5;