diff options
author | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-01-23 12:15:22 +0000 |
---|---|---|
committer | albeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-01-23 12:15:22 +0000 |
commit | 97740de4238484530e8e61a0bf7eb3c31acad1f3 (patch) | |
tree | ab3787e7dc405f0cb5394b2c919fa48a1b2a320b | |
parent | d7df4557b5823e8c555371b4b43aed36796d538a (diff) |
Fix misuse of the M_OPT_TYPE_INDIRECT flag, it has nothing to do
with the type of data used by the option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17469 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | m_option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m_option.c b/m_option.c index 3601e2d4f0..5222b26841 100644 --- a/m_option.c +++ b/m_option.c @@ -822,7 +822,7 @@ m_option_type_t m_option_type_func = { /////////////////// Print static int parse_print(m_option_t* opt,char *name, char *param, void* dst, int src) { - if(opt->type->flags&M_OPT_TYPE_INDIRECT) + if(opt->type == CONF_TYPE_PRINT_INDIRECT) mp_msg(MSGT_CFGPARSER, MSGL_INFO, "%s", *(char **) opt->p); else mp_msg(MSGT_CFGPARSER, MSGL_INFO, "%s", (char *) opt->p); @@ -849,7 +849,7 @@ m_option_type_t m_option_type_print_indirect = { "Print", "", 0, - M_OPT_TYPE_INDIRECT, + 0, parse_print, NULL, NULL, |