diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-01-23 23:03:09 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-01-23 23:03:09 +0000 |
commit | 8e1e6f31c142aeb27d3dd7df539c47b35d7eb903 (patch) | |
tree | a1e73532f1654c52016b9ccaf233aa4add95dfd3 /libavcodec/common.h | |
parent | 47e2a6e6c521a007f78b23ed554a1b81defef936 (diff) | |
download | ffmpeg-8e1e6f31c142aeb27d3dd7df539c47b35d7eb903.tar.gz |
use av_malloc() functions - added av_strdup and av_realloc()
Originally committed as revision 1505 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/common.h')
-rw-r--r-- | libavcodec/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/common.h b/libavcodec/common.h index 31bfbb1c90..bdfa398a47 100644 --- a/libavcodec/common.h +++ b/libavcodec/common.h @@ -931,6 +931,11 @@ if((y)<(x)){\ #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 */ |