summaryrefslogtreecommitdiffstats
path: root/common/playlist_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/playlist_parser.c')
-rw-r--r--common/playlist_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/playlist_parser.c b/common/playlist_parser.c
index f33f7204b6..2e06009db5 100644
--- a/common/playlist_parser.c
+++ b/common/playlist_parser.c
@@ -499,7 +499,7 @@ struct playlist *playlist_parse_file(const char *file, struct mpv_global *global
{
struct mp_log *log = mp_log_new(NULL, global->log, "!playlist_parser");
struct playlist *ret = NULL;
- stream_t *stream = stream_open(file, global->opts);
+ stream_t *stream = stream_open(file, global);
if(!stream) {
mp_err(log, "Error while opening playlist file %s: %s\n",
file, strerror(errno));