[FFmpeg-cvslog] r10456 - trunk/libavutil/mem.h

diego subversion
Sun Sep 9 15:23:35 CEST 2007


Author: diego
Date: Sun Sep  9 15:23:34 2007
New Revision: 10456

Log:
Document libavutil/mem.h:av_strdup.
patch by Stefano Sabatini, stefano.sabatini-lala poste it


Modified:
   trunk/libavutil/mem.h

Modified: trunk/libavutil/mem.h
==============================================================================
--- trunk/libavutil/mem.h	(original)
+++ trunk/libavutil/mem.h	Sun Sep  9 15:23:34 2007
@@ -54,6 +54,13 @@ void *av_realloc(void *ptr, unsigned int
 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);
 
 /**




More information about the ffmpeg-cvslog mailing list