Commit 544eb99c authored by Fabrice Bellard's avatar Fabrice Bellard

memory functions are exported

Originally committed as revision 686 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 771b9a70
...@@ -520,4 +520,11 @@ typedef enum { ...@@ -520,4 +520,11 @@ typedef enum {
*/ */
int avcodec(void* handle, avc_cmd_t cmd, void* pin, void* pout); 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 */ #endif /* AVCODEC_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment