[FFmpeg-cvslog] r12527 - trunk/libavcodec/bitstream.c
zuxy
subversion
Fri Mar 21 05:49:00 CET 2008
Author: zuxy
Date: Fri Mar 21 05:48:59 2008
New Revision: 12527
Log:
Apply 'alloc_size' attribute to ff_realloc_static()
Modified:
trunk/libavcodec/bitstream.c
Modified: trunk/libavcodec/bitstream.c
==============================================================================
--- trunk/libavcodec/bitstream.c (original)
+++ trunk/libavcodec/bitstream.c Fri Mar 21 05:48:59 2008
@@ -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)
{
More information about the ffmpeg-cvslog
mailing list