| 7211 | } stbi__gif; |
| 7212 | |
| 7213 | static int stbi__gif_test_raw(stbi__context* s) { |
| 7214 | int sz; |
| 7215 | if (stbi__get8(s) != 'G' || stbi__get8(s) != 'I' || stbi__get8(s) != 'F' || |
| 7216 | stbi__get8(s) != '8') |
| 7217 | return 0; |
| 7218 | sz = stbi__get8(s); |
| 7219 | if (sz != '9' && sz != '7') |
| 7220 | return 0; |
| 7221 | if (stbi__get8(s) != 'a') |
| 7222 | return 0; |
| 7223 | return 1; |
| 7224 | } |
| 7225 | |
| 7226 | static int stbi__gif_test(stbi__context* s) { |
| 7227 | int r = stbi__gif_test_raw(s); |
no test coverage detected