[Ffmpeg-cvslog] r8088 - in trunk/libavcodec: avcodec.h bitstream.c
takis
subversion
Thu Feb 22 21:21:34 CET 2007
Author: takis
Date: Thu Feb 22 21:21:33 2007
New Revision: 8088
Modified:
trunk/libavcodec/avcodec.h
trunk/libavcodec/bitstream.c
Log:
Move the av_realloc_static() declaration out of avcodec.h into bitstream.c.
Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h (original)
+++ trunk/libavcodec/avcodec.h Thu Feb 22 21:21:33 2007
@@ -2920,15 +2920,6 @@
*/
void *av_mallocz_static(unsigned int size);
-/**
- * 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 img_copy(AVPicture *dst, const AVPicture *src,
int pix_fmt, int width, int height);
Modified: trunk/libavcodec/bitstream.c
==============================================================================
--- trunk/libavcodec/bitstream.c (original)
+++ trunk/libavcodec/bitstream.c Thu Feb 22 21:21:33 2007
@@ -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
More information about the ffmpeg-cvslog
mailing list