| 1679 | // nothing |
| 1680 | #else |
| 1681 | static void stbi__skip(stbi__context* s, int n) { |
| 1682 | if (n == 0) |
| 1683 | return; // already there! |
| 1684 | if (n < 0) { |
| 1685 | s->img_buffer = s->img_buffer_end; |
| 1686 | return; |
| 1687 | } |
| 1688 | if (s->io.read) { |
| 1689 | int blen = (int)(s->img_buffer_end - s->img_buffer); |
| 1690 | if (blen < n) { |
| 1691 | s->img_buffer = s->img_buffer_end; |
| 1692 | (s->io.skip)(s->io_user_data, n - blen); |
| 1693 | return; |
| 1694 | } |
| 1695 | } |
| 1696 | s->img_buffer += n; |
| 1697 | } |
| 1698 | #endif |
| 1699 | |
| 1700 | #if defined(STBI_NO_PNG) && defined(STBI_NO_TGA) && defined(STBI_NO_HDR) && \ |
no outgoing calls
no test coverage detected