MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / stbi__gif_test_raw

Function stbi__gif_test_raw

include/stb/stb_image.h:6580–6588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6578} stbi__gif;
6579
6580static int stbi__gif_test_raw(stbi__context *s)
6581{
6582 int sz;
6583 if (stbi__get8(s) != 'G' || stbi__get8(s) != 'I' || stbi__get8(s) != 'F' || stbi__get8(s) != '8') return 0;
6584 sz = stbi__get8(s);
6585 if (sz != '9' && sz != '7') return 0;
6586 if (stbi__get8(s) != 'a') return 0;
6587 return 1;
6588}
6589
6590static int stbi__gif_test(stbi__context *s)
6591{

Callers 1

stbi__gif_testFunction · 0.85

Calls 1

stbi__get8Function · 0.85

Tested by

no test coverage detected