options/m_property: add log null check to m_property_multiply
Similar to m_property_switch, cannot be null for write paths.
This commit is contained in:
1 parent
13550bd31d
commit
27ec68fbd8
1 file changed
+2
@@ -66,6 +66,8 @@ static int m_property_multiply(struct mp_log *log,
|
||||
struct m_option opt = {0};
|
||||
int r;
|
||||
|
||||
if (!log)
|
||||
return M_PROPERTY_ERROR;
|
||||
r = m_property_do(log, prop_list, property, M_PROPERTY_GET_CONSTRICTED_TYPE,
|
||||
&opt, ctx);
|
||||
if (r != M_PROPERTY_OK)
|
||||
|
||||
Reference in new issue
Block a user