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