summaryrefslogtreecommitdiffstats
path: root/core/mp_core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-27 21:24:54 +0200
committerwm4 <wm4@nowhere>2013-07-28 18:44:21 +0200
commitda2b4aa5870f407ad322b6116ed8d66a66dbeadf (patch)
tree4cee7047c5f522c9b98978170a218e118398029a /core/mp_core.h
parent2fc07dcf302061c6f04a7570e2c1825bb2393513 (diff)
downloadmpv-da2b4aa5870f407ad322b6116ed8d66a66dbeadf.tar.bz2
mpv-da2b4aa5870f407ad322b6116ed8d66a66dbeadf.tar.xz
core: make mpctx->opts a pointer
Prevents some awkwardness in a later commit, and makes the code more uniform with other places where MPOpts is accessed. This is a pretty annoying commit (touches tons of lines all over the place), but it hurts only once.
Diffstat (limited to 'core/mp_core.h')
-rw-r--r--core/mp_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mp_core.h b/core/mp_core.h
index 6bbe18c71e..d2eb8ef296 100644
--- a/core/mp_core.h
+++ b/core/mp_core.h
@@ -113,7 +113,7 @@ enum {
};
typedef struct MPContext {
- struct MPOpts opts;
+ struct MPOpts *opts;
struct m_config *mconfig;
struct input_ctx *input;
struct osd_state *osd;