av_memdup

Duplicate the buffer p. @param p buffer to be duplicated @return Pointer to a newly allocated buffer containing a copy of p or NULL if the buffer cannot be allocated.

@nogc nothrow extern (C)
void*
av_memdup
(
const void* p
,
size_t size
)

Meta