From 1c8a40f663eb0407498b3f0c05a5ed7246624728 Mon Sep 17 00:00:00 2001 From: Luis Alves Date: Sun, 9 Dec 2018 11:19:05 +0000 Subject: [PATCH] htsp_server: init htsp_out_mutex --- src/htsp_server.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/htsp_server.c b/src/htsp_server.c index 04b04c3c2..49af61b17 100644 --- a/src/htsp_server.c +++ b/src/htsp_server.c @@ -3420,6 +3420,8 @@ htsp_serve(int fd, void **opaque, struct sockaddr_storage *source, htsp.htsp_peer = source; htsp.htsp_writer_run = 1; + tvh_mutex_init(&htsp.htsp_out_mutex, NULL); + LIST_INSERT_HEAD(&htsp_connections, &htsp, htsp_link); tvh_mutex_unlock(&global_lock); -- 2.47.2