# HG changeset patch # User takis # Date 1172190039 0 # Node ID 88cf097ebe752b9600f841b807b51921fe8b68b8 # Parent ad02fe65f45a6443622b927d3e5eed2764127160 av_realloc_static() is an internal function and therefore should use the ff_ prefix instead of av_. diff -r ad02fe65f45a -r 88cf097ebe75 bitstream.c --- a/bitstream.c Thu Feb 22 20:21:33 2007 +0000 +++ b/bitstream.c Fri Feb 23 00:20:39 2007 +0000 @@ -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 @@ 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, diff -r ad02fe65f45a -r 88cf097ebe75 utils.c --- a/utils.c Thu Feb 22 20:21:33 2007 +0000 +++ b/utils.c Fri Feb 23 00:20:39 2007 +0000 @@ -87,7 +87,7 @@ return ptr; } -void *av_realloc_static(void *ptr, unsigned int size) +void *ff_realloc_static(void *ptr, unsigned int size) { int i; if(!ptr)