diff options
author | Zuxy Meng <zuxy.meng@gmail.com> | 2008-03-21 07:48:59 +0300 |
---|---|---|
committer | Zuxy Meng <zuxy.meng@gmail.com> | 2008-03-21 07:48:59 +0300 |
commit | 9f6152dfdbbfd9c531a2603f93d0357cc1beda29 (patch) | |
tree | ee97229d0371407006248f9248d62b155456cafd /libavcodec | |
parent | c02a1b3593ced69109d6c5e721cc9387b53e456c (diff) |
Apply 'alloc_size' attribute to ff_realloc_static()
Originally committed as revision 12527 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/bitstream.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c index b74775e9c0..f02c9c7e12 100644 --- a/libavcodec/bitstream.c +++ b/libavcodec/bitstream.c @@ -39,7 +39,8 @@ * @deprecated. Code which uses ff_realloc_static is broken/misdesigned * and should correctly use static arrays */ -attribute_deprecated void *ff_realloc_static(void *ptr, unsigned int size); +attribute_deprecated av_alloc_size(2) +void *ff_realloc_static(void *ptr, unsigned int size); void align_put_bits(PutBitContext *s) { |