Changeset 185 for libmpc/branches/r2d/common/huffman.c
- Timestamp:
- 12/23/06 13:38:05 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/common/huffman.c
r161 r185 103 103 static void _Huffman_MakeCodes(huff_sym_t * sym, unsigned int num_symbols) 104 104 { 105 unsigned int code = 0 ;106 int i,bits;105 unsigned int code = 0, i; 106 int bits; 107 107 108 108 qsort(sym, num_symbols, sizeof(huff_sym_t), … … 185 185 } 186 186 187 #ifdef __GNUC__ 188 187 189 /** 188 190 * Print the huffman tables … … 198 200 void _Huffman_PrintCodes(huff_sym_t * sym, unsigned int num_symbols, int print_type, int offset) 199 201 { 200 unsigned int total_cnt = 0, total_size = 0, optim_size = 0 ;201 int i,packs[4];202 unsigned int total_cnt = 0, total_size = 0, optim_size = 0, i; 203 int packs[4]; 202 204 203 205 switch( print_type ) { … … 274 276 } 275 277 276 277 278 #endif 279 280
Note: See TracChangeset
for help on using the changeset viewer.