diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-09-25 15:23:40 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-09-25 15:23:40 +0000 |
commit | 79e47000c8847cc70acf6b7debac10add2e88a81 (patch) | |
tree | cc10b5acc1a3d175444e45d948aa831993073122 /libavutil/common.h | |
parent | 10aa27db712fce3a3c8e67a66ff72fcd879bcddf (diff) | |
download | ffmpeg-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.h | 5 |
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 */ |