From 9149e2af568d4cb251f8b105f360c3e6b9fd9d86 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 20:15:47 +0100 Subject: playlist_parser: mp_msg conversion --- options/parse_commandline.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'options') diff --git a/options/parse_commandline.c b/options/parse_commandline.c index f20d213f07..7c4eb3cce7 100644 --- a/options/parse_commandline.c +++ b/options/parse_commandline.c @@ -114,7 +114,6 @@ int m_config_parse_mp_command_line(m_config_t *config, struct playlist *files, struct mpv_global *global, int argc, char **argv) { - struct MPOpts *opts = config->optstruct; int ret = M_OPT_UNKNOWN; int mode = 0; struct playlist_entry *local_start = NULL; @@ -186,7 +185,7 @@ int m_config_parse_mp_command_line(m_config_t *config, struct playlist *files, if (bstrcmp0(p.arg, "playlist") == 0) { // append the playlist to the local args char *param0 = bstrdup0(NULL, p.param); - struct playlist *pl = playlist_parse_file(param0, opts); + struct playlist *pl = playlist_parse_file(param0, global); talloc_free(param0); if (!pl) { MP_FATAL(config, "Error reading playlist '%.*s'", BSTR_P(p.param)); -- cgit v1.2.3