diff bitstream.c @ 6519:f57fee2decd6 libavcodec

Apply 'alloc_size' attribute to ff_realloc_static()
author zuxy
date Fri, 21 Mar 2008 04:48:59 +0000
parents 6335f2688c04
children 24e01f7cc819
line wrap: on
line diff
--- a/bitstream.c	Fri Mar 21 03:54:45 2008 +0000
+++ b/bitstream.c	Fri Mar 21 04:48:59 2008 +0000
@@ -39,7 +39,8 @@
  * @deprecated. Code which uses ff_realloc_static is broken/misdesigned
  * and should correctly use static arrays
  */
-attribute_deprecated void *ff_realloc_static(void *ptr, unsigned int size);
+attribute_deprecated av_alloc_size(2)
+void *ff_realloc_static(void *ptr, unsigned int size);
 
 void align_put_bits(PutBitContext *s)
 {