changeset 10270:fe761a493077 libavcodec

Remove ff_realloc_static, it is no longer used and since it was declared static there is no reason to wait for a major version bump, removing it does not change ABI in any way, not even the non-public one.
author reimar
date Thu, 24 Sep 2009 22:39:47 +0000
parents 74d5ddc5c0f6
children 4c1259af2fce
files bitstream.c
diffstat 1 files changed, 0 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/bitstream.c	Thu Sep 24 22:37:34 2009 +0000
+++ b/bitstream.c	Thu Sep 24 22:39:47 2009 +0000
@@ -38,25 +38,6 @@
  8, 9,10,11,12,13,14,15
 };
 
-#if LIBAVCODEC_VERSION_MAJOR < 53
-/**
- * Same as av_mallocz_static(), but does a realloc.
- *
- * @param[in] ptr The block of memory to reallocate.
- * @param[in] size The requested size.
- * @return Block of memory of requested size.
- * @deprecated. Code which uses ff_realloc_static is broken/misdesigned
- * and should correctly use static arrays
- */
-attribute_deprecated av_alloc_size(2)
-static void *ff_realloc_static(void *ptr, unsigned int size);
-
-static void *ff_realloc_static(void *ptr, unsigned int size)
-{
-    return av_realloc(ptr, size);
-}
-#endif
-
 void align_put_bits(PutBitContext *s)
 {
 #ifdef ALT_BITSTREAM_WRITER