OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081c9d1
)
Document libavutil/mem.h:av_strdup.
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Sun, 9 Sep 2007 13:23:34 +0000
(13:23 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Sun, 9 Sep 2007 13:23:34 +0000
(13:23 +0000)
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 10456 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/mem.h
patch
|
blob
|
history
diff --git
a/libavutil/mem.h
b/libavutil/mem.h
index
4ebdad8
..
81b8724
100644
(file)
--- a/
libavutil/mem.h
+++ b/
libavutil/mem.h
@@
-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);
/**