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:
nanahi authored and Kacper Michajłow committed 2026-05-12 21:39:34 +02:00
1 parent 13550bd31d
commit 27ec68fbd8
1 file changed
+2
+2
View File
@@ -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)