From 3f94def343b0828467052dd184a7cfdd2a5abc97 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 4 Jul 2014 14:38:38 +0200 Subject: [PATCH] capmt: fix thread detach bug --- src/descrambler/capmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/descrambler/capmt.c b/src/descrambler/capmt.c index 35f31d90..8b11664b 100644 --- a/src/descrambler/capmt.c +++ b/src/descrambler/capmt.c @@ -1902,7 +1902,7 @@ capmt_entry_find(const char *id, int create) tvh_pipe(O_NONBLOCK, &capmt->capmt_pipe); - tvhthread_create(&capmt->capmt_tid, NULL, capmt_thread, capmt, 1); + tvhthread_create(&capmt->capmt_tid, NULL, capmt_thread, capmt, 0); return capmt; }