summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--playtreeparser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/playtreeparser.c b/playtreeparser.c
index 1cafaf7960..f8132fd2ce 100644
--- a/playtreeparser.c
+++ b/playtreeparser.c
@@ -456,6 +456,7 @@ parse_smil(play_tree_parser_t* p) {
return NULL; //line not smil exit
}
+ if (!line) return NULL;
mp_msg(MSGT_PLAYTREE,MSGL_V,"Detected smil playlist format\n");
play_tree_parser_stop_keeping(p);