[vlc-devel] [PATCH] variables: add missing initialiser
remi at remlab.net
remi at remlab.net
Sun Jan 17 15:52:21 UTC 2021
From: RĂ©mi Denis-Courmont <remi at remlab.net>
---
src/misc/variables.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/misc/variables.c b/src/misc/variables.c
index f12e55d4e7..6a230d2edd 100644
--- a/src/misc/variables.c
+++ b/src/misc/variables.c
@@ -350,6 +350,8 @@ int (var_Create)( vlc_object_t *p_this, const char *psz_name, int i_type )
vlc_assert_unreachable ();
}
+ vlc_cond_init(&p_var->wait);
+
if (i_type & VLC_VAR_DOINHERIT)
var_Inherit(p_this, psz_name, i_type, &p_var->val);
--
2.30.0
More information about the vlc-devel
mailing list