Commit f1c3da33 authored by takis's avatar takis

av_realloc_static() is an internal function and therefore should use the ff_ prefix instead of av_.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@8089 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0e2dae4e
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
* @param[in] size The requested size. * @param[in] size The requested size.
* @return Block of memory of 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) void align_put_bits(PutBitContext *s)
{ {
...@@ -87,7 +87,7 @@ static int alloc_table(VLC *vlc, int size, int use_static) ...@@ -87,7 +87,7 @@ static int alloc_table(VLC *vlc, int size, int use_static)
if (vlc->table_size > vlc->table_allocated) { if (vlc->table_size > vlc->table_allocated) {
vlc->table_allocated += (1 << vlc->bits); vlc->table_allocated += (1 << vlc->bits);
if(use_static) if(use_static)
vlc->table = av_realloc_static(vlc->table, vlc->table = ff_realloc_static(vlc->table,
sizeof(VLC_TYPE) * 2 * vlc->table_allocated); sizeof(VLC_TYPE) * 2 * vlc->table_allocated);
else else
vlc->table = av_realloc(vlc->table, vlc->table = av_realloc(vlc->table,
......
...@@ -87,7 +87,7 @@ void *av_mallocz_static(unsigned int size) ...@@ -87,7 +87,7 @@ void *av_mallocz_static(unsigned int size)
return ptr; return ptr;
} }
void *av_realloc_static(void *ptr, unsigned int size) void *ff_realloc_static(void *ptr, unsigned int size)
{ {
int i; int i;
if(!ptr) if(!ptr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment