Browse Source

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
tags/v0.5
Panagiotis Issaris 18 years ago
parent
commit
beebfdb1e8
2 changed files with 9 additions and 9 deletions
  1. +0
    -9
      libavcodec/avcodec.h
  2. +9
    -0
      libavcodec/bitstream.c

+ 0
- 9
libavcodec/avcodec.h View File

@@ -2920,15 +2920,6 @@ void av_free_static(void);
*/
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);



+ 9
- 0
libavcodec/bitstream.c View File

@@ -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


Loading…
Cancel
Save