| 4541 | } |
| 4542 | |
| 4543 | stbi_inline static unsigned int stbi__zreceive(stbi__zbuf* z, int n) { |
| 4544 | unsigned int k; |
| 4545 | if (z->num_bits < n) |
| 4546 | stbi__fill_bits(z); |
| 4547 | k = z->code_buffer & ((1 << n) - 1); |
| 4548 | z->code_buffer >>= n; |
| 4549 | z->num_bits -= n; |
| 4550 | return k; |
| 4551 | } |
| 4552 | |
| 4553 | static int stbi__zhuffman_decode_slowpath(stbi__zbuf* a, stbi__zhuffman* z) { |
| 4554 | int b, s, k; |
no test coverage detected