| 883 | #endif // !STBI_NO_STDIO |
| 884 | |
| 885 | static void stbi__rewind(stbi__context *s) |
| 886 | { |
| 887 | // conceptually rewind SHOULD rewind to the beginning of the stream, |
| 888 | // but we just rewind to the beginning of the initial buffer, because |
| 889 | // we only use it after doing 'test', which only ever looks at at most 92 bytes |
| 890 | s->img_buffer = s->img_buffer_original; |
| 891 | s->img_buffer_end = s->img_buffer_original_end; |
| 892 | } |
| 893 | |
| 894 | enum |
| 895 | { |
no outgoing calls
no test coverage detected