diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-03-03 01:57:43 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-03-03 01:57:43 +0000 |
commit | 81c5f887485a3d46ec5948832acc7da8167b5248 (patch) | |
tree | b1129259d5ab578f1ffc7bc1e6d5d94bf0f19269 /libavcodec/avcodec.h | |
parent | 461cd5bfb5c38e48a81b4a9a5912dfd65da1ba3d (diff) | |
download | ffmpeg-81c5f887485a3d46ec5948832acc7da8167b5248.tar.gz |
macrofree av_freep()
Originally committed as revision 2839 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index b29653ec9f..956a2ef74a 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2073,8 +2073,7 @@ 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_freep(void *ptr); void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size); /* for static data only */ /* call av_free_static to release all staticaly allocated tables */ |