| 898 | #endif // !STBI_NO_STDIO |
| 899 | |
| 900 | static void stbi__rewind(stbi__context* s) { |
| 901 | // conceptually rewind SHOULD rewind to the beginning of the stream, |
| 902 | // but we just rewind to the beginning of the initial buffer, because |
| 903 | // we only use it after doing 'test', which only ever looks at at most 92 bytes |
| 904 | s->img_buffer = s->img_buffer_original; |
| 905 | s->img_buffer_end = s->img_buffer_original_end; |
| 906 | } |
| 907 | |
| 908 | enum { STBI_ORDER_RGB, STBI_ORDER_BGR }; |
| 909 |
no outgoing calls
no test coverage detected