| 7092 | } |
| 7093 | |
| 7094 | static int stbi__hdr_test(stbi__context* s) |
| 7095 | { |
| 7096 | int r = stbi__hdr_test_core(s, "#?RADIANCE\n"); |
| 7097 | stbi__rewind(s); |
| 7098 | if(!r) { |
| 7099 | r = stbi__hdr_test_core(s, "#?RGBE\n"); |
| 7100 | stbi__rewind(s); |
| 7101 | } |
| 7102 | return r; |
| 7103 | } |
| 7104 | |
| 7105 | #define STBI__HDR_BUFLEN 1024 |
| 7106 | static char *stbi__hdr_gettoken(stbi__context *z, char *buffer) |
no test coverage detected