[FFmpeg-cvslog] r12526 - trunk/libavcodec/avcodec.h

zuxy subversion
Fri Mar 21 04:54:45 CET 2008


Author: zuxy
Date: Fri Mar 21 04:54:45 2008
New Revision: 12526

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



Modified:
   trunk/libavcodec/avcodec.h

Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h	(original)
+++ trunk/libavcodec/avcodec.h	Fri Mar 21 04:54:45 2008
@@ -2917,7 +2917,8 @@ attribute_deprecated void av_free_static
  * @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'.




More information about the ffmpeg-cvslog mailing list