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:
parent
c02a1b3593
commit
9f6152dfdb
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue