diff options
author | wm4 <wm4@nowhere> | 2013-12-21 19:45:42 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 21:05:02 +0100 |
commit | d8d42b44fc717c695af59c14213d54885088ea37 (patch) | |
tree | 9dbfd597e3352249cb5d1fda996d2c0ce1602fe9 /options/options.c | |
parent | a2d144fc8f146f96e4fe97b1b2c15828e24f8494 (diff) | |
download | mpv-d8d42b44fc717c695af59c14213d54885088ea37.tar.bz2 mpv-d8d42b44fc717c695af59c14213d54885088ea37.tar.xz |
m_option, m_config: mp_msg conversions
Always pass around mp_log contexts in the option parser code. This of
course affects all users of this API as well.
In stream.c, pass a mp_null_log, because we can't do it properly yet.
This will be fixed later.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/options/options.c b/options/options.c index a4c3292c01..bd64669079 100644 --- a/options/options.c +++ b/options/options.c @@ -64,10 +64,10 @@ extern int sws_flags; extern const char mp_help_text[]; -static int print_version_opt(const m_option_t *opt, const char *name, - const char *param) +static int print_version_opt(struct mp_log *log, const m_option_t *opt, + const char *name, const char *param) { - mp_print_version(true); + mp_print_version(log, true); return M_OPT_EXIT; } |