| 4530 | } |
| 4531 | |
| 4532 | static void stbi__fill_bits(stbi__zbuf* z) { |
| 4533 | do { |
| 4534 | if (z->code_buffer >= (1U << z->num_bits)) { |
| 4535 | z->zbuffer = z->zbuffer_end; /* treat this as EOF so we fail. */ |
| 4536 | return; |
| 4537 | } |
| 4538 | z->code_buffer |= (unsigned int)stbi__zget8(z) << z->num_bits; |
| 4539 | z->num_bits += 8; |
| 4540 | } while (z->num_bits <= 24); |
| 4541 | } |
| 4542 | |
| 4543 | stbi_inline static unsigned int stbi__zreceive(stbi__zbuf* z, int n) { |
| 4544 | unsigned int k; |
no test coverage detected