Mercurial > libavcodec.hg
diff common.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 | 1f9afd8b9131 |
children | 44a230c11d83 |
line wrap: on
line diff
--- a/common.h Thu Jan 23 22:59:06 2003 +0000 +++ b/common.h Thu Jan 23 23:03:09 2003 +0000 @@ -931,6 +931,11 @@ #define CLAMP_TO_8BIT(d) ((d > 0xff) ? 0xff : (d < 0) ? 0 : d) +/* avoid usage of various functions */ +#define malloc please_use_av_malloc +#define free please_use_av_free +#define realloc please_use_av_realloc + #endif /* HAVE_AV_CONFIG_H */ #endif /* COMMON_H */