| 1641 | // nothing |
| 1642 | #else |
| 1643 | static void stbi__skip(stbi__context *s, int n) |
| 1644 | { |
| 1645 | if (n == 0) return; // already there! |
| 1646 | if (n < 0) { |
| 1647 | s->img_buffer = s->img_buffer_end; |
| 1648 | return; |
| 1649 | } |
| 1650 | if (s->io.read) { |
| 1651 | int blen = (int) (s->img_buffer_end - s->img_buffer); |
| 1652 | if (blen < n) { |
| 1653 | s->img_buffer = s->img_buffer_end; |
| 1654 | (s->io.skip)(s->io_user_data, n - blen); |
| 1655 | return; |
| 1656 | } |
| 1657 | } |
| 1658 | s->img_buffer += n; |
| 1659 | } |
| 1660 | #endif |
| 1661 | |
| 1662 | #if defined(STBI_NO_PNG) && defined(STBI_NO_TGA) && defined(STBI_NO_HDR) && defined(STBI_NO_PNM) |
no outgoing calls
no test coverage detected