diff avcodec.h @ 492:de11e138a661 libavcodec

memory functions are exported
author bellard
date Tue, 11 Jun 2002 13:42:18 +0000
parents 20108840b0e5
children 460bc2ba363e
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 */