diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2002-06-11 13:42:18 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2002-06-11 13:42:18 +0000 |
commit | 544eb99cbfcaa0d8f9b476975b89548648856c07 (patch) | |
tree | be903bb4ede05a070b4f6d83bedae67996567599 | |
parent | 771b9a7045c2ceddf4c862f0ef30077c9b74e3fa (diff) | |
download | ffmpeg-544eb99cbfcaa0d8f9b476975b89548648856c07.tar.gz |
memory functions are exported
Originally committed as revision 686 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/avcodec.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 68b67154d7..367268c2b5 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -520,4 +520,11 @@ typedef enum { */ int avcodec(void* handle, avc_cmd_t cmd, void* pin, void* pout); +/* memory */ +void *av_malloc(int size); +void *av_mallocz(int size); +void av_free(void *ptr); +void __av_freep(void **ptr); +#define av_freep(p) __av_freep((void **)(p)) + #endif /* AVCODEC_H */ |