comparison common.c @ 535:7f1b09bb34c6 libavcodec

dont trash table in GET_VLC
author michaelni
date Thu, 11 Jul 2002 12:42:20 +0000
parents f1f4d3d755f8
children 153a7ffd289b
comparison
equal deleted inserted replaced
534:56784e066e09 535:7f1b09bb34c6
284 n_prefix + table_nb_bits); 284 n_prefix + table_nb_bits);
285 if (index < 0) 285 if (index < 0)
286 return -1; 286 return -1;
287 /* note: realloc has been done, so reload tables */ 287 /* note: realloc has been done, so reload tables */
288 table = &vlc->table[table_index]; 288 table = &vlc->table[table_index];
289 table[i][0] = index - table_index; //code 289 table[i][0] = index; //code
290 } 290 }
291 } 291 }
292 return table_index; 292 return table_index;
293 } 293 }
294 294