comparison bitstream.c @ 10269:74d5ddc5c0f6 libavcodec

Reindent.
author reimar
date Thu, 24 Sep 2009 22:37:34 +0000
parents 05190dd593c9
children fe761a493077
comparison
equal deleted inserted replaced
10268:05190dd593c9 10269:74d5ddc5c0f6
125 vlc->table_size += size; 125 vlc->table_size += size;
126 if (vlc->table_size > vlc->table_allocated) { 126 if (vlc->table_size > vlc->table_allocated) {
127 if(use_static) 127 if(use_static)
128 abort(); //cant do anything, init_vlc() is used with too little memory 128 abort(); //cant do anything, init_vlc() is used with too little memory
129 vlc->table_allocated += (1 << vlc->bits); 129 vlc->table_allocated += (1 << vlc->bits);
130 vlc->table = av_realloc(vlc->table, 130 vlc->table = av_realloc(vlc->table,
131 sizeof(VLC_TYPE) * 2 * vlc->table_allocated); 131 sizeof(VLC_TYPE) * 2 * vlc->table_allocated);
132 if (!vlc->table) 132 if (!vlc->table)
133 return -1; 133 return -1;
134 } 134 }
135 return index; 135 return index;
136 } 136 }