[Ffmpeg-cvslog] r8089 - in trunk/libavcodec: bitstream.c utils.c

takis subversion
Fri Feb 23 01:20:40 CET 2007


Author: takis
Date: Fri Feb 23 01:20:39 2007
New Revision: 8089

Modified:
   trunk/libavcodec/bitstream.c
   trunk/libavcodec/utils.c

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

Modified: trunk/libavcodec/bitstream.c
==============================================================================
--- trunk/libavcodec/bitstream.c	(original)
+++ trunk/libavcodec/bitstream.c	Fri Feb 23 01:20:39 2007
@@ -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,

Modified: trunk/libavcodec/utils.c
==============================================================================
--- trunk/libavcodec/utils.c	(original)
+++ trunk/libavcodec/utils.c	Fri Feb 23 01:20:39 2007
@@ -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)




More information about the ffmpeg-cvslog mailing list