Skip to content
Snippets Groups Projects
Commit ca2a0c93 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

deprecate av_mallocz_static()

Originally committed as revision 8388 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 85e7386a
No related branches found
No related tags found
No related merge requests found
...@@ -3001,7 +3001,7 @@ void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size); ...@@ -3001,7 +3001,7 @@ void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size);
* Frees all static arrays and reset their pointers to 0. * Frees all static arrays and reset their pointers to 0.
* Call this function to release all statically allocated tables. * Call this function to release all statically allocated tables.
*/ */
void av_free_static(void); attribute_deprecated void av_free_static(void);
/** /**
* Allocation of static arrays. * Allocation of static arrays.
...@@ -3011,7 +3011,7 @@ void av_free_static(void); ...@@ -3011,7 +3011,7 @@ void av_free_static(void);
* @param[in] size The amount of memory you need in bytes. * @param[in] size The amount of memory you need in bytes.
* @return Block of memory of the requested size. * @return Block of memory of the requested size.
*/ */
void *av_mallocz_static(unsigned int size); attribute_deprecated void *av_mallocz_static(unsigned int size);
/** /**
* Copy image 'src' to 'dst'. * Copy image 'src' to 'dst'.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment