diff options
author | Zuxy Meng <zuxy.meng@gmail.com> | 2008-03-21 03:54:45 +0000 |
---|---|---|
committer | Zuxy Meng <zuxy.meng@gmail.com> | 2008-03-21 03:54:45 +0000 |
commit | c02a1b3593ced69109d6c5e721cc9387b53e456c (patch) | |
tree | 18d64156b971ef5445dc2be3c245aa66b7db882b /libavcodec/avcodec.h | |
parent | 98a6fff98c3f2e963783e52fb193529bdc14e040 (diff) | |
download | ffmpeg-c02a1b3593ced69109d6c5e721cc9387b53e456c.tar.gz |
Apply 'alloc_size' and 'malloc' attributes to av_mallocz_static()
Originally committed as revision 12526 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 68a7888686..284ffcc688 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2917,7 +2917,8 @@ attribute_deprecated void av_free_static(void); * @deprecated. Code which uses av_mallocz_static is broken/misdesigned * and should correctly use static arrays */ -attribute_deprecated void *av_mallocz_static(unsigned int size); +attribute_deprecated av_malloc_attrib av_alloc_size(1) +void *av_mallocz_static(unsigned int size); /** * Copy image 'src' to 'dst'. |