Duplicate a buffer with av_malloc().
@param p Buffer to be duplicated @param size Size in bytes of the buffer copied @return Pointer to a newly allocated buffer containing a copy of p or NULL if the buffer cannot be allocated
See Implementation
Duplicate a buffer with av_malloc().
@param p Buffer to be duplicated @param size Size in bytes of the buffer copied @return Pointer to a newly allocated buffer containing a copy of p or NULL if the buffer cannot be allocated