const char const char void * val
int avpriv_atomic_int_get(volatile int *ptr)
Load the current value stored in an atomic integer.
#define av_assert0(cond)
assert() equivalent, that is always enabled.
void avpriv_atomic_int_set(volatile int *ptr, int val)
Store a new value in an atomic integer.
simple assert() macros that are a bit more flexible than ISO C assert().
int avpriv_atomic_int_add_and_fetch(volatile int *ptr, int inc)
Add a value to an atomic integer.