mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '193b09189004ede4a6998e69192d1a9f63602088'
* commit '193b09189004ede4a6998e69192d1a9f63602088': thread: Define ff_mutex_* macros as stub functions when threads are disabled Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
commit
00bfe8509c
@ -149,10 +149,10 @@ static inline int strict_pthread_once(pthread_once_t *once_control, void (*init_
|
||||
|
||||
#define AVMutex char
|
||||
|
||||
#define ff_mutex_init(mutex, attr) (0)
|
||||
#define ff_mutex_lock(mutex) (0)
|
||||
#define ff_mutex_unlock(mutex) (0)
|
||||
#define ff_mutex_destroy(mutex) (0)
|
||||
static inline int ff_mutex_init(AVMutex *mutex, const void *attr){ return 0; }
|
||||
static inline int ff_mutex_lock(AVMutex *mutex){ return 0; }
|
||||
static inline int ff_mutex_unlock(AVMutex *mutex){ return 0; }
|
||||
static inline int ff_mutex_destroy(AVMutex *mutex){ return 0; }
|
||||
|
||||
#define AVOnce char
|
||||
#define AV_ONCE_INIT 0
|
||||
|
Loading…
Reference in New Issue
Block a user