Mercurial > libavcodec.hg
diff avcodec.h @ 1031:19de1445beb2 libavcodec
use av_malloc() functions - added av_strdup and av_realloc()
author | bellard |
---|---|
date | Thu, 23 Jan 2003 23:03:09 +0000 |
parents | d6ba0641cc36 |
children | 1d906a29afb6 |
line wrap: on
line diff
--- a/avcodec.h Thu Jan 23 22:59:06 2003 +0000 +++ b/avcodec.h Thu Jan 23 23:03:09 2003 +0000 @@ -1233,7 +1233,9 @@ /* memory */ void *av_malloc(unsigned int size); void *av_mallocz(unsigned int size); +void *av_realloc(void *ptr, unsigned int size); void av_free(void *ptr); +char *av_strdup(const char *s); void __av_freep(void **ptr); #define av_freep(p) __av_freep((void **)(p)) void *av_fast_realloc(void *ptr, int *size, int min_size);