# HG changeset patch # User bellard # Date 1023802938 0 # Node ID de11e138a66181c07c577d560d992e9e1122ae53 # Parent 66d470d19febae9f3851c2b5a99d479afc4050a5 memory functions are exported diff -r 66d470d19feb -r de11e138a661 avcodec.h --- a/avcodec.h Tue Jun 11 13:41:41 2002 +0000 +++ b/avcodec.h Tue Jun 11 13:42:18 2002 +0000 @@ -520,4 +520,11 @@ */ 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 */