summaryrefslogtreecommitdiff
path: root/libavcodec/bitstream.c
diff options
context:
space:
mode:
authorZuxy Meng <zuxy.meng@gmail.com>2008-03-21 04:48:59 +0000
committerZuxy Meng <zuxy.meng@gmail.com>2008-03-21 04:48:59 +0000
commit9f6152dfdbbfd9c531a2603f93d0357cc1beda29 (patch)
treeee97229d0371407006248f9248d62b155456cafd /libavcodec/bitstream.c
parentc02a1b3593ced69109d6c5e721cc9387b53e456c (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/bitstream.c')
-rw-r--r--libavcodec/bitstream.c3
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)
{