Commit f6a298a1 authored by diego's avatar diego

Document libavutil/mem.h:av_strdup.

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10456 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 82ffb366
...@@ -54,6 +54,13 @@ void *av_realloc(void *ptr, unsigned int size); ...@@ -54,6 +54,13 @@ void *av_realloc(void *ptr, unsigned int size);
void av_free(void *ptr); void av_free(void *ptr);
void *av_mallocz(unsigned int size); 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); 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