| 7082 | // originally by Nicolas Schulz |
| 7083 | #ifndef STBI_NO_HDR |
| 7084 | static int stbi__hdr_test_core(stbi__context *s, const char *signature) |
| 7085 | { |
| 7086 | int i; |
| 7087 | for (i=0; signature[i]; ++i) |
| 7088 | if (stbi__get8(s) != signature[i]) |
| 7089 | return 0; |
| 7090 | stbi__rewind(s); |
| 7091 | return 1; |
| 7092 | } |
| 7093 | |
| 7094 | static int stbi__hdr_test(stbi__context* s) |
| 7095 | { |
no test coverage detected