diff options
author | wm4 <wm4@nowhere> | 2013-04-12 14:34:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-04-12 14:34:46 +0200 |
commit | 90e57fc266434a94966c95d8b79da82a5d088c66 (patch) | |
tree | 4b4b7ae49a51de7512087d44e2cdf60331eea1f0 | |
parent | ed48c657eefa8d98f421de39a607aa0072d84878 (diff) | |
download | mpv-90e57fc266434a94966c95d8b79da82a5d088c66.tar.bz2 mpv-90e57fc266434a94966c95d8b79da82a5d088c66.tar.xz |
command: fix deref before NULL check
Was accidentally broken in the last global variable removal round.
-rw-r--r-- | core/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/command.c b/core/command.c index 095e50f4a2..6a1c868ee1 100644 --- a/core/command.c +++ b/core/command.c @@ -851,9 +851,9 @@ static int mp_property_fullscreen(m_option_t *prop, void *arg, MPContext *mpctx) { - struct mp_vo_opts *opts = mpctx->video_out->opts; if (!mpctx->video_out) return M_PROPERTY_UNAVAILABLE; + struct mp_vo_opts *opts = mpctx->video_out->opts; if (action == M_PROPERTY_SET) { if (opts->fs == !!*(int *) arg) |