From f6bceacaff0d2e1a1265d29372fcf7b34c57446c Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 24 Oct 2013 22:19:20 +0200 Subject: [PATCH] options: fix bogus entry This didn't make sense and caused issues with the following commit: if it's an option with a data pointer, it should be writable. --- mpvcore/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpvcore/options.c b/mpvcore/options.c index 0b5e5fde65..619310235e 100644 --- a/mpvcore/options.c +++ b/mpvcore/options.c @@ -330,7 +330,7 @@ const m_option_t mp_opts[] = { { "list-options", NULL, CONF_TYPE_STORE, CONF_NOCFG }, // handled in mplayer.c (looks at the raw argv[]) - {"leak-report", "", CONF_TYPE_STORE, CONF_GLOBAL | CONF_NOCFG }, + {"leak-report", NULL, CONF_TYPE_STORE, CONF_GLOBAL | CONF_NOCFG }, OPT_FLAG("shuffle", shuffle, CONF_GLOBAL | CONF_NOCFG),