From: Stefan H. <ho...@us...> - 2002-12-26 22:07:16
|
Update of /cvsroot/xine/gnome-xine/src In directory sc8-pr-cvs1:/tmp/cvs-serv1805/src Modified Files: playlist.c Log Message: ignore junk at beginning of plain text asx files Index: playlist.c =================================================================== RCS file: /cvsroot/xine/gnome-xine/src/playlist.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- playlist.c 25 Dec 2002 21:35:43 -0000 1.37 +++ playlist.c 26 Dec 2002 22:07:13 -0000 1.38 @@ -570,10 +570,10 @@ contents=strchr(lines[i],'\r'); if (contents) *contents=0; /* add to playlist */ - if (ret >= 0) - playlist_add (lines[i]); - else - ret = playlist_add (lines[i]); + if (ret >= 0) + playlist_add (strstr(lines[i], "mms://")); + else + ret = playlist_add (strstr(lines[i], "mms://")); } } return ret; |