summaryrefslogtreecommitdiffstats
path: root/libavcodec/bitstream.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-02-22 20:21:33 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-02-22 20:21:33 +0000
commitbeebfdb1e83c7759a658ba8b18d429c3a0a5de0a (patch)
treeb1c74201444406ae1bc13972177947b4871ff91a /libavcodec/bitstream.c
parente0b67c7618b959f4dba240602fa5b5464f50f193 (diff)
downloadffmpeg-streaming-beebfdb1e83c7759a658ba8b18d429c3a0a5de0a.zip
ffmpeg-streaming-beebfdb1e83c7759a658ba8b18d429c3a0a5de0a.tar.gz
Move the av_realloc_static() declaration out of avcodec.h into bitstream.c.
Originally committed as revision 8088 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bitstream.c')
-rw-r--r--libavcodec/bitstream.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c
index 22d256d..1e71745 100644
--- a/libavcodec/bitstream.c
+++ b/libavcodec/bitstream.c
@@ -30,6 +30,15 @@
#include "avcodec.h"
#include "bitstream.h"
+/**
+ * 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.
+ */
+void *av_realloc_static(void *ptr, unsigned int size);
+
void align_put_bits(PutBitContext *s)
{
#ifdef ALT_BITSTREAM_WRITER
OpenPOWER on IntegriCloud