changeset 492:de11e138a661 libavcodec

memory functions are exported
author bellard
date Tue, 11 Jun 2002 13:42:18 +0000
parents 66d470d19feb
children 873b9075d853
files avcodec.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 */