aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/common.h
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-09-25 15:23:40 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-09-25 15:23:40 +0000
commit79e47000c8847cc70acf6b7debac10add2e88a81 (patch)
treecc10b5acc1a3d175444e45d948aa831993073122 /libavutil/common.h
parent10aa27db712fce3a3c8e67a66ff72fcd879bcddf (diff)
downloadffmpeg-79e47000c8847cc70acf6b7debac10add2e88a81.tar.gz
move memory functions from avcodec to avutil
Originally committed as revision 6330 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/common.h')
-rw-r--r--libavutil/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index bd92dda154..d723520d1c 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -403,8 +403,13 @@ tend= read_time();\
#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 */