diff common.h @ 113:8fc54918226e libavutil

move memory functions from avcodec to avutil
author lu_zero
date Mon, 25 Sep 2006 15:23:40 +0000
parents aedf5cf3de93
children d76a36742464
line wrap: on
line diff
--- a/common.h	Thu Sep 21 18:00:05 2006 +0000
+++ b/common.h	Mon Sep 25 15:23:40 2006 +0000
@@ -403,8 +403,13 @@
   #define DECLARE_ALIGNED(n,t,v)      __declspec(align(n)) t v
 #endif
 
+/* memory */
 void *av_malloc(unsigned int size);
 void *av_realloc(void *ptr, unsigned int size);
 void av_free(void *ptr);
 
+void *av_mallocz(unsigned int size);
+char *av_strdup(const char *s);
+void av_freep(void *ptr);
+
 #endif /* COMMON_H */