*/
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);
#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