summaryrefslogtreecommitdiffstats
path: root/playtreeparser.c
diff options
context:
space:
mode:
authorrtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-14 23:16:27 +0000
committerrtogni <rtogni@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-14 23:16:27 +0000
commit714d24670c339797ec44b68d51ef1055f8bf57d8 (patch)
treeec0ec87017c6ad38639bb7ec1b3022b4221322b5 /playtreeparser.c
parenta6cc078d267f91bba54d8a581952f5a67c22469f (diff)
downloadmpv-714d24670c339797ec44b68d51ef1055f8bf57d8.tar.bz2
mpv-714d24670c339797ec44b68d51ef1055f8bf57d8.tar.xz
10l, fix inverted check for "<media" in smil playlist
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21928 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'playtreeparser.c')
-rw-r--r--playtreeparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/playtreeparser.c b/playtreeparser.c
index 4786747481..39378281f3 100644
--- a/playtreeparser.c
+++ b/playtreeparser.c
@@ -459,7 +459,7 @@ parse_smil(play_tree_parser_t* p) {
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;