]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
fixed copy-and-paste bug for previous commit, fixes #4034
authorJaroslav Kysela <perex@perex.cz>
Sun, 23 Oct 2016 09:12:05 +0000 (11:12 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sun, 23 Oct 2016 09:12:12 +0000 (11:12 +0200)
src/input/mpegts/scanfile.c

index 119e2fcc3d6b1c21d458a7b90bfc9555141613c3..9d9fba56902ba7365caeaacd231b405e39a39645 100644 (file)
@@ -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;