Changeset 904b1bc in mainline for uspace/lib/compress/inflate.c
- Timestamp:
- 2018-05-22T10:36:58Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a4eb3ba2
- Parents:
- 4f8772d4
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-21 17:36:30)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-22 10:36:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/compress/inflate.c
r4f8772d4 r904b1bc 319 319 uint16_t *symbol) 320 320 { 321 uint16_t code = 0; /* Decoded bits */ 322 size_t first = 0; /* First code of the given length */ 323 size_t index = 0; /* Index of the first code of the given length 324 in the symbol table */ 325 326 size_t len; /* Current number of bits in the code */ 321 /* Decode bits */ 322 uint16_t code = 0; 323 324 /* First code of the given length */ 325 size_t first = 0; 326 327 /* 328 * Index of the first code of the given length 329 * in the symbol table 330 */ 331 size_t index = 0; 332 333 /* Current number of bits in the code */ 334 size_t len; 335 327 336 for (len = 1; len <= MAX_HUFFMAN_BIT; len++) { 328 337 /* Get next bit */
Note:
See TracChangeset
for help on using the changeset viewer.