summaryrefslogtreecommitdiffstats
path: root/playtreeparser.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-26 13:07:04 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-06-26 13:07:04 +0000
commit1c3d4dc5cda879f213db819ee76d5ef7a40f04fc (patch)
tree411f27bc038ce0d85d61d8f334b6e29ebcd460c2 /playtreeparser.c
parentf238f58d934d304ddfc3c8c3f051f793a910d07e (diff)
downloadmpv-1c3d4dc5cda879f213db819ee76d5ef7a40f04fc.tar.bz2
mpv-1c3d4dc5cda879f213db819ee76d5ef7a40f04fc.tar.xz
Support for comments in plaintext playlist by adland
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12690 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 6f23be3cb2..372d8bd2fd 100644
--- a/playtreeparser.c
+++ b/playtreeparser.c
@@ -555,7 +555,7 @@ parse_textplain(play_tree_parser_t* p) {
while((line = play_tree_parser_get_line(p)) != NULL) {
strstrip(line);
- if(line[0] == '\0')
+ if(line[0] == '\0' || line[0] == '#' || (line[0] == '/' && line[1] == '/'))
continue;
//Special check for embedded smil or ram reference in file