Browse Source

Apply 'alloc_size' attribute to ff_realloc_static()

Originally committed as revision 12527 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Zuxy Meng 17 years ago
parent
commit
9f6152dfdb
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/bitstream.c

+ 2
- 1
libavcodec/bitstream.c View File

@@ -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