mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-16 13:51:37 +08:00
Apply 'alloc_size' and 'malloc' attributes to av_mallocz_static()
Originally committed as revision 12526 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -2917,7 +2917,8 @@ attribute_deprecated void av_free_static(void);
|
|||||||
* @deprecated. Code which uses av_mallocz_static is broken/misdesigned
|
* @deprecated. Code which uses av_mallocz_static is broken/misdesigned
|
||||||
* and should correctly use static arrays
|
* 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'.
|
* Copy image 'src' to 'dst'.
|
||||||
|
Reference in New Issue
Block a user