Apply 'alloc_size' attribute to ff_realloc_static()

Originally committed as revision 12527 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Zuxy Meng 17 years ago
parent c02a1b3593
commit 9f6152dfdb
  1. 3
      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)
{

Loading…
Cancel
Save