21 #ifndef AVUTIL_MEM_INTERNAL_H 
   22 #define AVUTIL_MEM_INTERNAL_H 
   27 static inline int ff_fast_malloc(
void *ptr, 
unsigned int *
size, 
size_t min_size, 
int zero_realloc)
 
   31     memcpy(&val, ptr, 
sizeof(val));
 
   32     if (min_size <= *size) {
 
   36     min_size = 
FFMAX(min_size + min_size / 16 + 32, min_size);
 
   39     memcpy(ptr, &val, 
sizeof(val));
 
const char const char void * val
 
memory handling functions 
 
#define av_assert0(cond)
assert() equivalent, that is always enabled. 
 
simple assert() macros that are a bit more flexible than ISO C assert(). 
 
static int ff_fast_malloc(void *ptr, unsigned int *size, size_t min_size, int zero_realloc)
 
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...