MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / stbi__pic_test_core

Function stbi__pic_test_core

Source/Utils/stb_image.h:6343–6357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6341}
6342
6343static int stbi__pic_test_core(stbi__context *s)
6344{
6345 int i;
6346
6347 if (!stbi__pic_is4(s,"\x53\x80\xF6\x34"))
6348 return 0;
6349
6350 for(i=0;i<84;++i)
6351 stbi__get8(s);
6352
6353 if (!stbi__pic_is4(s,"PICT"))
6354 return 0;
6355
6356 return 1;
6357}
6358
6359typedef struct
6360{

Callers 1

stbi__pic_testFunction · 0.85

Calls 2

stbi__pic_is4Function · 0.85
stbi__get8Function · 0.85

Tested by

no test coverage detected