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