comparison avcodec.h @ 1854:73ee15c391bf libavcodec

macrofree av_freep()
author michael
date Wed, 03 Mar 2004 01:57:43 +0000
parents c72589baee53
children bafde44145f9
comparison
equal deleted inserted replaced
1853:9de89f579086 1854:73ee15c391bf
2071 void *av_malloc(unsigned int size); 2071 void *av_malloc(unsigned int size);
2072 void *av_mallocz(unsigned int size); 2072 void *av_mallocz(unsigned int size);
2073 void *av_realloc(void *ptr, unsigned int size); 2073 void *av_realloc(void *ptr, unsigned int size);
2074 void av_free(void *ptr); 2074 void av_free(void *ptr);
2075 char *av_strdup(const char *s); 2075 char *av_strdup(const char *s);
2076 void __av_freep(void **ptr); 2076 void av_freep(void *ptr);
2077 #define av_freep(p) __av_freep((void **)(p))
2078 void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size); 2077 void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size);
2079 /* for static data only */ 2078 /* for static data only */
2080 /* call av_free_static to release all staticaly allocated tables */ 2079 /* call av_free_static to release all staticaly allocated tables */
2081 void av_free_static(void); 2080 void av_free_static(void);
2082 void *__av_mallocz_static(void** location, unsigned int size); 2081 void *__av_mallocz_static(void** location, unsigned int size);