| 1646 | } |
| 1647 | |
| 1648 | stbi_inline static stbi_uc stbi__get8(stbi__context* s) { |
| 1649 | if (s->img_buffer < s->img_buffer_end) |
| 1650 | return *s->img_buffer++; |
| 1651 | if (s->read_from_callbacks) { |
| 1652 | stbi__refill_buffer(s); |
| 1653 | return *s->img_buffer++; |
| 1654 | } |
| 1655 | return 0; |
| 1656 | } |
| 1657 | |
| 1658 | #if defined(STBI_NO_JPEG) && defined(STBI_NO_HDR) && defined(STBI_NO_PIC) && \ |
| 1659 | defined(STBI_NO_PNM) |
no test coverage detected