From 544eb99cbfcaa0d8f9b476975b89548648856c07 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Tue, 11 Jun 2002 13:42:18 +0000 Subject: [PATCH] memory functions are exported Originally committed as revision 686 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 68b6715..367268c 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 */ -- 2.7.4