Commit d3de3ee2 authored by Stefano Sabatini's avatar Stefano Sabatini Committed by Diego Biurrun

Document libavutil/mem.h:av_strdup.

patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 10456 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 081c9d1d
......@@ -54,6 +54,13 @@ void *av_realloc(void *ptr, unsigned int size);
void av_free(void *ptr);
void *av_mallocz(unsigned int size);
/**
* Duplicates the string \p s.
* @param s String to be duplicated.
* @return Pointer to a newly allocated string containing a
* copy of \p s or NULL if it cannot allocate it.
*/
char *av_strdup(const char *s);
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment