diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-09-24 22:39:47 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-09-24 22:39:47 +0000 |
commit | ef530829f87f306207a52d3a88995c2b1b26c611 (patch) | |
tree | 128f36fe59d5c30aafde69f3b9f5d650ccb08a89 /libavcodec/bitstream.c | |
parent | 1e224c5480790259038f3022c3697a581c27f6c9 (diff) | |
download | ffmpeg-ef530829f87f306207a52d3a88995c2b1b26c611.tar.gz |
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.
Originally committed as revision 20023 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bitstream.c')
-rw-r--r-- | libavcodec/bitstream.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c index 0af24b959c..d8d0f3c7be 100644 --- a/libavcodec/bitstream.c +++ b/libavcodec/bitstream.c @@ -38,25 +38,6 @@ const uint8_t ff_log2_run[32]={ 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 |