| 7756 | } |
| 7757 | |
| 7758 | static int stbi__hdr_test(stbi__context* s) { |
| 7759 | int r = stbi__hdr_test_core(s, "#?RADIANCE\n"); |
| 7760 | stbi__rewind(s); |
| 7761 | if (!r) { |
| 7762 | r = stbi__hdr_test_core(s, "#?RGBE\n"); |
| 7763 | stbi__rewind(s); |
| 7764 | } |
| 7765 | return r; |
| 7766 | } |
| 7767 | |
| 7768 | #define STBI__HDR_BUFLEN 1024 |
| 7769 | static char* stbi__hdr_gettoken(stbi__context* z, char* buffer) { |
no test coverage detected