[vlc-devel] [PATCH 1/2] vout: initialize control variables
Thomas Guillem
thomas at gllm.fr
Wed Oct 9 14:10:10 CEST 2019
Not fixing anything since this control struct is allocated from the
vlc_object_t that is 0ed.
---
src/video_output/control.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/video_output/control.c b/src/video_output/control.c
index e456f19869..616ea566cf 100644
--- a/src/video_output/control.c
+++ b/src/video_output/control.c
@@ -53,6 +53,8 @@ void vout_control_Init(vout_control_t *ctrl)
vlc_cond_init(&ctrl->wait_request);
vlc_cond_init(&ctrl->wait_available);
+ ctrl->is_held = false;
+ ctrl->is_waiting = false;
ctrl->is_dead = false;
ctrl->can_sleep = true;
ARRAY_INIT(ctrl->cmd);
--
2.20.1
More information about the vlc-devel
mailing list