summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-24 22:19:20 +0200
committerwm4 <wm4@nowhere>2013-10-24 22:50:13 +0200
commitf6bceacaff0d2e1a1265d29372fcf7b34c57446c (patch)
treefa8592aa23afbe3a3fd35f65028ce5b1acb2cfad
parent7204dee3c7cc86bddb513344912c3aa991a10684 (diff)
downloadmpv-f6bceacaff0d2e1a1265d29372fcf7b34c57446c.tar.bz2
mpv-f6bceacaff0d2e1a1265d29372fcf7b34c57446c.tar.xz
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.
-rw-r--r--mpvcore/options.c2
1 files changed, 1 insertions, 1 deletions
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),