[MPlayer-cvslog] r34259 - trunk/m_option.c
reimar
subversion at mplayerhq.hu
Tue Oct 25 22:42:50 CEST 2011
Author: reimar
Date: Tue Oct 25 22:42:50 2011
New Revision: 34259
Log:
Pass on errors from CONF_TYPE_FUNC_PARAM_IMMEDIATE function.
Modified:
trunk/m_option.c
Modified: trunk/m_option.c
==============================================================================
--- trunk/m_option.c Tue Oct 25 22:38:09 2011 (r34258)
+++ trunk/m_option.c Tue Oct 25 22:42:50 2011 (r34259)
@@ -716,7 +716,9 @@ const m_option_type_t m_option_type_stri
/////////////////// Func based options
static int parse_call_func(const m_option_t* opt,const char *name, const char *param, void* dst, int src) {
- ((m_opt_func_param_t) opt->p)(opt,param);
+ int res = ((m_opt_func_param_t) opt->p)(opt,param);
+ if (res < 0)
+ return res;
return 1;
}
More information about the MPlayer-cvslog
mailing list