mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 15:33:00 +02:00
libeplayer3/container_ffmpeg: No attributes needed for mutex init
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