comparison avcodec.h @ 3495:39302c85a59e libavcodec

Move av_malloc(), av_realloc(), and av_free() from libavcodec to libavutil
author lucabe
date Wed, 19 Jul 2006 07:28:58 +0000
parents 05bb54c1d979
children 419409926166
comparison
equal deleted inserted replaced
3494:05bb54c1d979 3495:39302c85a59e
2595 extern AVBitStreamFilter remove_extradata_bsf; 2595 extern AVBitStreamFilter remove_extradata_bsf;
2596 extern AVBitStreamFilter noise_bsf; 2596 extern AVBitStreamFilter noise_bsf;
2597 2597
2598 2598
2599 /* memory */ 2599 /* memory */
2600 void *av_malloc(unsigned int size);
2601 void *av_mallocz(unsigned int size); 2600 void *av_mallocz(unsigned int size);
2602 void *av_realloc(void *ptr, unsigned int size);
2603 void av_free(void *ptr);
2604 char *av_strdup(const char *s); 2601 char *av_strdup(const char *s);
2605 void av_freep(void *ptr); 2602 void av_freep(void *ptr);
2606 void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size); 2603 void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size);
2607 /* for static data only */ 2604 /* for static data only */
2608 /* call av_free_static to release all staticaly allocated tables */ 2605 /* call av_free_static to release all staticaly allocated tables */