Commit 1bd6fe58 authored by zuxy's avatar zuxy

Apply 'alloc_size' and 'malloc' attributes to av_mallocz_static()



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12526 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d52696b7
......@@ -2917,7 +2917,8 @@ attribute_deprecated void av_free_static(void);
* @deprecated. Code which uses av_mallocz_static is broken/misdesigned
* and should correctly use static arrays
*/
attribute_deprecated void *av_mallocz_static(unsigned int size);
attribute_deprecated av_malloc_attrib av_alloc_size(1)
void *av_mallocz_static(unsigned int size);
/**
* Copy image 'src' to 'dst'.
......
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