Mercurial > libavcodec.hg
changeset 6519:f57fee2decd6 libavcodec
Apply 'alloc_size' attribute to ff_realloc_static()
author | zuxy |
---|---|
date | Fri, 21 Mar 2008 04:48:59 +0000 |
parents | 2191d340f80d |
children | c7b922e9477e |
files | bitstream.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bitstream.c Fri Mar 21 03:54:45 2008 +0000 +++ b/bitstream.c Fri Mar 21 04:48:59 2008 +0000 @@ -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) {