| 1611 | } |
| 1612 | |
| 1613 | stbi_inline static stbi_uc stbi__get8(stbi__context *s) |
| 1614 | { |
| 1615 | if (s->img_buffer < s->img_buffer_end) |
| 1616 | return *s->img_buffer++; |
| 1617 | if (s->read_from_callbacks) { |
| 1618 | stbi__refill_buffer(s); |
| 1619 | return *s->img_buffer++; |
| 1620 | } |
| 1621 | return 0; |
| 1622 | } |
| 1623 | |
| 1624 | #if defined(STBI_NO_JPEG) && defined(STBI_NO_HDR) && defined(STBI_NO_PIC) && defined(STBI_NO_PNM) |
| 1625 | // nothing |
no test coverage detected