avutil/buffer: Move USE_ATOMICS to thread.h to avoid it becoming out of sync with it
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -25,8 +25,6 @@
|
||||
#include "mem.h"
|
||||
#include "thread.h"
|
||||
|
||||
#define USE_ATOMICS !(HAVE_PTHREADS || HAVE_W32THREADS)
|
||||
|
||||
AVBufferRef *av_buffer_create(uint8_t *data, int size,
|
||||
void (*free)(void *opaque, uint8_t *data),
|
||||
void *opaque, int flags)
|
||||
|
Reference in New Issue
Block a user