comparison src/ffmpeg/libavcodec/bitstream.c @ 830:68562d99230f trunk

[svn] - more symbol cleanups.
author nenolod
date Mon, 12 Mar 2007 15:23:10 -0700
parents e8776388b02a
children
comparison
equal deleted inserted replaced
829:1c250e20c6e3 830:68562d99230f
75 int index; 75 int index;
76 index = vlc->table_size; 76 index = vlc->table_size;
77 vlc->table_size += size; 77 vlc->table_size += size;
78 if (vlc->table_size > vlc->table_allocated) { 78 if (vlc->table_size > vlc->table_allocated) {
79 vlc->table_allocated += (1 << vlc->bits); 79 vlc->table_allocated += (1 << vlc->bits);
80 if(use_static) 80 vlc->table = av_realloc(vlc->table,
81 vlc->table = av_realloc_static(vlc->table, 81 sizeof(VLC_TYPE) * 2 * vlc->table_allocated);
82 sizeof(VLC_TYPE) * 2 * vlc->table_allocated);
83 else
84 vlc->table = av_realloc(vlc->table,
85 sizeof(VLC_TYPE) * 2 * vlc->table_allocated);
86 if (!vlc->table) 82 if (!vlc->table)
87 return -1; 83 return -1;
88 } 84 }
89 return index; 85 return index;
90 } 86 }