10l, fix inverted check for "<media" in smil playlist

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21928 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtogni 2007-01-14 23:16:27 +00:00
parent a6cc078d26
commit 714d24670c
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ parse_smil(play_tree_parser_t* p) {
if (line[0]=='\0') if (line[0]=='\0')
continue; continue;
if (!entrymode) { // all entries filled so far 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 pos=strstr(line,"src="); // Is source present on this line
if (pos !=NULL) { if (pos !=NULL) {
s_start=pos+5; s_start=pos+5;