memory functions are exported

Originally committed as revision 686 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Fabrice Bellard 23 years ago
parent 771b9a7045
commit 544eb99cbf
  1. 7
      libavcodec/avcodec.h

@ -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 */

Loading…
Cancel
Save