From 6ff88bc4191b60c9b5db00013dd36eba35e65fcd Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 17 Jun 2014 16:00:11 +0200 Subject: [PATCH] capmt: fix another mutex deadlock fix --- src/descrambler/capmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/descrambler/capmt.c b/src/descrambler/capmt.c index eb4e4ffc..e2c36c0c 100644 --- a/src/descrambler/capmt.c +++ b/src/descrambler/capmt.c @@ -1536,10 +1536,10 @@ capmt_caid_change(th_descrambler_t *td) } } + pthread_mutex_unlock(&capmt->capmt_mutex); + if (change) capmt_notify_server(capmt, ct); - - pthread_mutex_unlock(&capmt->capmt_mutex); } static void