memory functions are exported
authorFabrice Bellard <fabrice@bellard.org>
Tue, 11 Jun 2002 13:42:18 +0000 (13:42 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Tue, 11 Jun 2002 13:42:18 +0000 (13:42 +0000)
Originally committed as revision 686 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/avcodec.h

index 68b6715..367268c 100644 (file)
@@ -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 */