diff options
author | wm4 <wm4@nowhere> | 2013-07-27 21:24:54 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-28 18:44:21 +0200 |
commit | da2b4aa5870f407ad322b6116ed8d66a66dbeadf (patch) | |
tree | 4cee7047c5f522c9b98978170a218e118398029a /core/mp_core.h | |
parent | 2fc07dcf302061c6f04a7570e2c1825bb2393513 (diff) | |
download | mpv-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.h | 2 |
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; |