Fix build without USE_PIP.

This commit is contained in:
Johns 2013-01-09 00:39:27 +01:00
parent d59c2ad40b
commit 1a730ef90b

View File

@ -2937,7 +2937,9 @@ void SoftHdDeviceExit(void)
}
pthread_mutex_destroy(&SuspendLockMutex);
#ifdef USE_PIP
pthread_mutex_destroy(&PipVideoStream->DecoderLockMutex);
#endif
pthread_mutex_destroy(&MyVideoStream->DecoderLockMutex);
}
@ -2956,7 +2958,9 @@ int Start(void)
CodecInit();
pthread_mutex_init(&MyVideoStream->DecoderLockMutex, NULL);
#ifdef USE_PIP
pthread_mutex_init(&PipVideoStream->DecoderLockMutex, NULL);
#endif
pthread_mutex_init(&SuspendLockMutex, NULL);
if (!ConfigStartSuspended) {