diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-03-13 22:01:06 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-03-13 22:01:06 +0000 |
commit | ca2a0c938e30cadb33e1731965bfac4e9215e121 (patch) | |
tree | 4315a9bc9a39f12db851985648c1e9a766517357 /libavcodec | |
parent | 85e7386ae0d33ede4c575d4df4c1faae6c906338 (diff) | |
download | ffmpeg-ca2a0c938e30cadb33e1731965bfac4e9215e121.tar.gz |
deprecate av_mallocz_static()
Originally committed as revision 8388 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index aa4296d786..1c24dda94c 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3001,7 +3001,7 @@ void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size); * Frees all static arrays and reset their pointers to 0. * Call this function to release all statically allocated tables. */ -void av_free_static(void); +attribute_deprecated void av_free_static(void); /** * Allocation of static arrays. @@ -3011,7 +3011,7 @@ void av_free_static(void); * @param[in] size The amount of memory you need in bytes. * @return Block of memory of the requested size. */ -void *av_mallocz_static(unsigned int size); +attribute_deprecated void *av_mallocz_static(unsigned int size); /** * Copy image 'src' to 'dst'. |