From: Jaroslav Kysela Date: Sun, 23 Oct 2016 09:12:05 +0000 (+0200) Subject: fixed copy-and-paste bug for previous commit, fixes #4034 X-Git-Tag: v4.2.1~245 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4931c0544885371b85146efad4eacd9683ba3dad;p=thirdparty%2Ftvheadend.git fixed copy-and-paste bug for previous commit, fixes #4034 --- diff --git a/src/input/mpegts/scanfile.c b/src/input/mpegts/scanfile.c index 119e2fcc3..9d9fba569 100644 --- a/src/input/mpegts/scanfile.c +++ b/src/input/mpegts/scanfile.c @@ -911,7 +911,7 @@ scanfile_init ( const char *muxconf_path, int lock ) memoryinfo_register(&scanfile_memoryinfo); initialized = 1; if (lock) - pthread_mutex_lock(&global_lock); + pthread_mutex_unlock(&global_lock); } scanfile_total_load = 0;