changeset 4654:bda54c0d6766 libavcodec

deprecate av_mallocz_static()
author michael
date Tue, 13 Mar 2007 22:01:06 +0000
parents 1d88da25349b
children f0ce30e115ac
files avcodec.h
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Tue Mar 13 19:44:02 2007 +0000
+++ b/avcodec.h	Tue Mar 13 22:01:06 2007 +0000
@@ -3001,7 +3001,7 @@
  * Frees all static arrays and reset their pointers to 0.
  * 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.
@@ -3011,7 +3011,7 @@
  * @param[in] size The amount of memory you need in bytes.
  * @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'.