mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-27 15:32:43 +02:00
libeplayer3/container_ffmpeg: No attributes needed for mutex init
Origin commit data
------------------
Branch: master
Commit: 7438ff07b2
Author: martii <m4rtii@gmx.de>
Date: 2013-07-14 (Sun, 14 Jul 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -135,10 +135,7 @@ static int mutexInitialized = 0;
|
||||
|
||||
static void initMutex(void)
|
||||
{
|
||||
pthread_mutexattr_t attr;
|
||||
pthread_mutexattr_init(&attr);
|
||||
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP);
|
||||
pthread_mutex_init(&mutex, &attr);
|
||||
pthread_mutex_init(&mutex, NULL);
|
||||
mutexInitialized = 1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user