diff options
author | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-02-23 00:20:39 +0000 |
---|---|---|
committer | Panagiotis Issaris <takis.issaris@uhasselt.be> | 2007-02-23 00:20:39 +0000 |
commit | 5dad0282b5a1576884fd86ec65b57de2f1b4df28 (patch) | |
tree | 901bcf34ab1434a2ec0394d315fff637495d7623 /libavcodec/bitstream.c | |
parent | beebfdb1e83c7759a658ba8b18d429c3a0a5de0a (diff) | |
download | ffmpeg-5dad0282b5a1576884fd86ec65b57de2f1b4df28.tar.gz |
av_realloc_static() is an internal function and therefore should use the ff_ prefix instead of av_.
Originally committed as revision 8089 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/bitstream.c')
-rw-r--r-- | libavcodec/bitstream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c index 1e71745782..35f775437d 100644 --- a/libavcodec/bitstream.c +++ b/libavcodec/bitstream.c @@ -37,7 +37,7 @@ * @param[in] size The requested size. * @return Block of memory of requested size. */ -void *av_realloc_static(void *ptr, unsigned int size); +void *ff_realloc_static(void *ptr, unsigned int size); void align_put_bits(PutBitContext *s) { @@ -87,7 +87,7 @@ static int alloc_table(VLC *vlc, int size, int use_static) if (vlc->table_size > vlc->table_allocated) { vlc->table_allocated += (1 << vlc->bits); if(use_static) - vlc->table = av_realloc_static(vlc->table, + vlc->table = ff_realloc_static(vlc->table, sizeof(VLC_TYPE) * 2 * vlc->table_allocated); else vlc->table = av_realloc(vlc->table, |