Apply 'alloc_size' attribute to ff_realloc_static()

Originally committed as revision 12527 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Zuxy Meng 2008-03-21 04:48:59 +00:00
parent c02a1b3593
commit 9f6152dfdb

View File

@ -39,7 +39,8 @@
* @deprecated. Code which uses ff_realloc_static is broken/misdesigned * @deprecated. Code which uses ff_realloc_static is broken/misdesigned
* and should correctly use static arrays * 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) void align_put_bits(PutBitContext *s)
{ {