Commit 9f6152df authored by Zuxy Meng's avatar Zuxy Meng

Apply 'alloc_size' attribute to ff_realloc_static()

Originally committed as revision 12527 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent c02a1b35
...@@ -39,7 +39,8 @@ ...@@ -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)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment